mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-16 00:54:19 +00:00
Menus: Implement BeginMenu() appending to existing menu when executed with same ID multiple times. (#1207)
This commit is contained in:
parent
898e91f20d
commit
0342a3c548
5 changed files with 23 additions and 7 deletions
|
|
@ -3623,6 +3623,7 @@ void ImGui::NewFrame()
|
|||
g.FrameCount += 1;
|
||||
g.TooltipOverrideCount = 0;
|
||||
g.WindowsActiveCount = 0;
|
||||
g.RenderedMenusId.resize(0);
|
||||
|
||||
// Setup current font and draw list shared data
|
||||
g.IO.Fonts->Locked = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue