mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-18 01:14:19 +00:00
Internals: Renaming. Renamed ImGuiPopupRef to ImGuiPopupData for consistency and added constructor.
This commit is contained in:
parent
3d363c91fd
commit
4e81b2d093
3 changed files with 17 additions and 14 deletions
|
|
@ -5824,7 +5824,7 @@ void ImGui::EndMainMenuBar()
|
|||
// When the user has left the menu layer (typically: closed menus through activation of an item), we restore focus to the previous window
|
||||
ImGuiContext& g = *GImGui;
|
||||
if (g.CurrentWindow == g.NavWindow && g.NavLayer == 0)
|
||||
FocusPreviousWindowIgnoringOne(g.NavWindow);
|
||||
FocusTopMostWindowIgnoringOne(g.NavWindow);
|
||||
|
||||
End();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue