From 025f80b1e15f2b731c1b7d74fcff3a2795ca2c26 Mon Sep 17 00:00:00 2001 From: yaw-man Date: Thu, 18 Aug 2022 16:03:01 -0300 Subject: [PATCH] Faster window resize --- src/yaw-tab/ui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yaw-tab/ui.cpp b/src/yaw-tab/ui.cpp index 85cd80b..7864c87 100644 --- a/src/yaw-tab/ui.cpp +++ b/src/yaw-tab/ui.cpp @@ -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)