Filmstrip horizontal scroll rate
When scrolling with the mouse scroll-wheel while hovering over a thumbnail in the Filmstrip, now it scrolls by an amount equal to the first thumb's width. Previously it used the height. Spotted by Ingo.
This commit is contained in:
parent
c5e9482a29
commit
a6b1eb46fd
@ -542,7 +542,7 @@ void ThumbBrowserBase::configScrollBars ()
|
||||
vscroll.get_adjustment()->set_upper (inH);
|
||||
hscroll.get_adjustment()->set_lower (0);
|
||||
vscroll.get_adjustment()->set_lower (0);
|
||||
hscroll.get_adjustment()->set_step_increment (!fd.empty() ? fd[0]->getEffectiveHeight() : 0);
|
||||
hscroll.get_adjustment()->set_step_increment (!fd.empty() ? fd[0]->getEffectiveWidth() : 0);
|
||||
vscroll.get_adjustment()->set_step_increment (!fd.empty() ? fd[0]->getEffectiveHeight() : 0);
|
||||
hscroll.get_adjustment()->set_page_increment (iw);
|
||||
vscroll.get_adjustment()->set_page_increment (ih);
|
||||
|
Loading…
x
Reference in New Issue
Block a user