mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-14 16:06:10 +00:00
Fix crash if controller windows are collapsed
This commit is contained in:
@@ -84,8 +84,8 @@ void ImGuiControllerConfig::show(bool& visible) {
|
||||
PADRestoreDefaultMapping(i);
|
||||
}
|
||||
}
|
||||
ImGui::End();
|
||||
}
|
||||
ImGui::End();
|
||||
|
||||
showEditor(m_editorVisible);
|
||||
}
|
||||
@@ -96,7 +96,7 @@ void ImGuiControllerConfig::showEditor(bool& visible) {
|
||||
}
|
||||
|
||||
if (ImGui::Begin("Controller Atlas Editor", &visible)) {
|
||||
ImGui::End();
|
||||
}
|
||||
ImGui::End();
|
||||
}
|
||||
} // namespace metaforce
|
||||
|
||||
Reference in New Issue
Block a user