mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 14:16:36 +00:00
Fixed non-popup child windows not honoring the HiddenFrames flag (can't see a reason). Docking relies on this.
This commit is contained in:
parent
b2ec0741f1
commit
4b1240b2e1
@ -2867,7 +2867,7 @@ static void AddWindowToRenderList(ImVector<ImDrawList*>& out_render_list, ImGuiW
|
||||
ImGuiWindow* child = window->DC.ChildWindows[i];
|
||||
if (!child->Active) // clipped children may have been marked not active
|
||||
continue;
|
||||
if ((child->Flags & ImGuiWindowFlags_Popup) && child->HiddenFrames > 0)
|
||||
if (child->HiddenFrames > 0)
|
||||
continue;
|
||||
AddWindowToRenderList(out_render_list, child);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user