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