mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-03 18:44:34 +00:00
Docking: Fixed one-frame flickering on reappearing windows binding to a dock node where a later-submitted window was already bound.
This commit is contained in:
@@ -18407,7 +18407,7 @@ void ImGui::BeginDocked(ImGuiWindow* window, bool* p_open)
|
||||
{
|
||||
if (node->State == ImGuiDockNodeState_HostWindowHiddenBecauseWindowsAreResizing)
|
||||
window->DockIsActive = true;
|
||||
if (node->Windows.Size > 1)
|
||||
if (node->Windows.Size > 1 && window->Appearing) // Only hide appearing window
|
||||
DockNodeHideWindowDuringHostWindowCreation(window);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user