GUI: fix inability to close subsongs

This commit is contained in:
tildearrow 2022-05-15 02:37:33 -05:00
parent c5c612c354
commit 6d0abbfd52
1 changed files with 1 additions and 1 deletions

View File

@ -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];