Faster window resize
This commit is contained in:
parent
030dd9245f
commit
025f80b1e1
|
@ -156,7 +156,7 @@ bool TabUI::onScroll(const ScrollEvent &ev)
|
|||
const uint x = getWidth();
|
||||
const uint y = getHeight();
|
||||
|
||||
add = (ev.delta.getY() > 0) ? 1 : -1;
|
||||
add = (ev.delta.getY() > 0) ? 20 : -20;
|
||||
|
||||
float tabletAspectRatio;
|
||||
if (tab.initialized)
|
||||
|
|
Loading…
Reference in New Issue