From e190c2ca60bca393c4b1936d4268c77140021d25 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Mon, 23 Jan 2023 03:31:50 -0500 Subject: [PATCH] GUI: fix "overflow changes ord" whn ctrlclk n sldr --- src/gui/pattern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/pattern.cpp b/src/gui/pattern.cpp index 141afb2b..b02b1150 100644 --- a/src/gui/pattern.cpp +++ b/src/gui/pattern.cpp @@ -969,7 +969,7 @@ void FurnaceGUI::drawPattern() { // overflow changes order // TODO: this is very unreliable and sometimes it can warp you out of the song - if (settings.scrollChangesOrder && !e->isPlaying()) { + if (settings.scrollChangesOrder && !e->isPlaying() && ImGui::IsWindowHovered(ImGuiHoveredFlags_ChildWindows)) { if (wheelY!=0) { if (wheelY>0) { if (ImGui::GetScrollY()<=0) {