mirror of
https://github.com/ocornut/imgui.git
synced 2025-01-19 01:34:08 +01: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:
parent
e4aeef4b9f
commit
7d81a166f9
@ -153,6 +153,8 @@ Docking+Viewports Branch:
|
||||
|
||||
- Viewports: Closing a viewport via OS/platform means (e.g. OS close button or task-bar menu),
|
||||
mark all windows in this viewport as closed.
|
||||
- Docking: Fixed one-frame flickering on reappearing windows binding to a dock node
|
||||
where a later-submitted window was already bound.
|
||||
- Docking: Fixed dragging from title-bar empty space (regression from 1.88 related to
|
||||
keeping ID alive when calling low-level ButtonBehavior() directly). (#5181, #2645)
|
||||
- Docking: [Internal] DockBuilderDockWindow() API calls don't clear docking order
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user