GUI: fix "overflow changes ord" whn ctrlclk n sldr

This commit is contained in:
tildearrow 2023-01-23 03:31:50 -05:00
parent f3af1d78ff
commit e190c2ca60
1 changed files with 1 additions and 1 deletions

View File

@ -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) {