[client] overlay: remove the unused menu bar

This commit is contained in:
Geoffrey McRae 2021-08-12 15:53:52 +10:00
parent 117e88c240
commit 35bd641d2a

View File

@ -162,7 +162,7 @@ static int config_render(void * udata, bool interactive, struct Rect * windowRec
ImGuiCond_FirstUseEver); ImGuiCond_FirstUseEver);
igPushIDInt(id++); igPushIDInt(id++);
if (!igBegin("Configuration", NULL, ImGuiWindowFlags_MenuBar)) if (!igBegin("Configuration", NULL, 0))
{ {
overlayGetImGuiRect(windowRects); overlayGetImGuiRect(windowRects);
igEnd(); igEnd();
@ -170,9 +170,6 @@ static int config_render(void * udata, bool interactive, struct Rect * windowRec
return 1; return 1;
} }
igBeginMenuBar();
igEndMenuBar();
igBeginTabBar("Configuration#tabs", 0); igBeginTabBar("Configuration#tabs", 0);
if (igBeginTabItem("Looking Glass", NULL, 0)) if (igBeginTabItem("Looking Glass", NULL, 0))