Skip to content

Commit

Permalink
ShowMenu: use BeginMainMenuBar()
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Jan 8, 2024
1 parent 60d9429 commit 7fcd1b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hello_imgui/internal/menu_statusbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void ShowMenu(RunnerParams & runnerParams)
if (!hasMenu)
return;

ImGui::BeginMenuBar();
ImGui::BeginMainMenuBar();

if (runnerParams.imGuiWindowParams.showMenu_App)
ShowDefaultAppMenu_Quit(runnerParams);
Expand All @@ -67,7 +67,7 @@ void ShowMenu(RunnerParams & runnerParams)
if (runnerParams.callbacks.ShowMenus)
runnerParams.callbacks.ShowMenus();

ImGui::EndMenuBar();
ImGui::EndMainMenuBar();
}


Expand Down

0 comments on commit 7fcd1b5

Please sign in to comment.