GUI: fix "overflow changes ord" whn ctrlclk n sldr
This commit is contained in:
parent
f3af1d78ff
commit
e190c2ca60
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue