From 9dea0930527c31037338fac90b538cc1c7eb5805 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 17 Mar 2022 16:17:33 -0500 Subject: [PATCH] GUI: reduce scroll boundaries --- src/gui/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 1e06fa8b..11fedfed 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -5277,10 +5277,10 @@ bool FurnaceGUI::loop() { #endif if (selecting) { // detect whether we have to scroll - if (motionYpatWindowPos.y+patWindowSize.y) { + if (motionY>patWindowPos.y+patWindowSize.y-2.0f*dpiScale) { addScroll(1); } }