mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-17 15:20:17 +01:00
parent
e61bbd634c
commit
fc1975a607
1 changed files with 1 additions and 2 deletions
|
@ -339,7 +339,6 @@ void winmain::RenderUi()
|
|||
}
|
||||
ImGui::End();
|
||||
ImGui::PopStyleVar();
|
||||
return;
|
||||
}
|
||||
|
||||
// No demo window in release to save space
|
||||
|
@ -348,7 +347,7 @@ void winmain::RenderUi()
|
|||
ImGui::ShowDemoWindow(&ShowImGuiDemo);
|
||||
#endif
|
||||
|
||||
if (ImGui::BeginMainMenuBar())
|
||||
if (Options.ShowMenu && ImGui::BeginMainMenuBar())
|
||||
{
|
||||
int currentMenuHeight = static_cast<int>(ImGui::GetWindowSize().y);
|
||||
if (MainMenuHeight != currentMenuHeight)
|
||||
|
|
Loading…
Reference in a new issue