GUI: fix inability to close subsongs
This commit is contained in:
parent
c5c612c354
commit
6d0abbfd52
|
@ -9,7 +9,7 @@ void FurnaceGUI::drawSubSongs() {
|
|||
ImGui::SetNextWindowFocus();
|
||||
nextWindow=GUI_WINDOW_NOTHING;
|
||||
}
|
||||
if (!oscOpen) return;
|
||||
if (!subSongsOpen) return;
|
||||
ImGui::SetNextWindowSizeConstraints(ImVec2(64.0f*dpiScale,32.0f*dpiScale),ImVec2(scrW*dpiScale,scrH*dpiScale));
|
||||
if (ImGui::Begin("Subsongs",&subSongsOpen,ImGuiWindowFlags_NoScrollWithMouse|ImGuiWindowFlags_NoScrollbar)) {
|
||||
char id[1024];
|
||||
|
|
Loading…
Reference in New Issue