mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 06:27:43 +00:00
Don't show menubar by default, use to toggle it
This commit is contained in:
@@ -1113,12 +1113,17 @@ void ImGuiConsole::PreUpdate() {
|
||||
g_StateManager->SetActiveRandomToDefault();
|
||||
}
|
||||
|
||||
if (ImGui::IsKeyReleased('`')) {
|
||||
m_isVisible ^= 1;
|
||||
}
|
||||
if (m_stepFrame) {
|
||||
g_Main->SetPaused(true);
|
||||
m_stepFrame = false;
|
||||
}
|
||||
bool canInspect = g_StateManager != nullptr && g_StateManager->GetObjectList();
|
||||
ShowAppMainMenuBar(canInspect);
|
||||
if (m_isVisible) {
|
||||
ShowAppMainMenuBar(canInspect);
|
||||
}
|
||||
if (canInspect && (m_showInspectWindow || !inspectingEntities.empty())) {
|
||||
UpdateEntityEntries();
|
||||
if (m_showInspectWindow) {
|
||||
|
||||
Reference in New Issue
Block a user