Faster window resize

This commit is contained in:
yaw-man 2022-08-18 16:03:01 -03:00
parent 030dd9245f
commit 025f80b1e1
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ bool TabUI::onScroll(const ScrollEvent &ev)
const uint x = getWidth(); const uint x = getWidth();
const uint y = getHeight(); const uint y = getHeight();
add = (ev.delta.getY() > 0) ? 1 : -1; add = (ev.delta.getY() > 0) ? 20 : -20;
float tabletAspectRatio; float tabletAspectRatio;
if (tab.initialized) if (tab.initialized)