From b19caa9dc2c2bb6d1d9ed4a3e1991102b302585f Mon Sep 17 00:00:00 2001 From: black-sliver <59490463+black-sliver@users.noreply.github.com> Date: Wed, 24 Jan 2024 22:54:55 +0100 Subject: [PATCH] UI: increase scrolling distance/speed --- src/uilib/ui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uilib/ui.cpp b/src/uilib/ui.cpp index 0bc99112..eee05411 100644 --- a/src/uilib/ui.cpp +++ b/src/uilib/ui.cpp @@ -236,8 +236,8 @@ bool Ui::render() } case SDL_MOUSEWHEEL: { EVENT_LOCK(this); - int x = ev.wheel.x * 16; - int y = ev.wheel.y * 16; + int x = ev.wheel.x * 48; + int y = ev.wheel.y * 48; unsigned mod = 0; auto winIt = _windows.find(ev.motion.windowID); if (winIt != _windows.end()) {