Docking: Fixed single-frame node pos/size inconsistencies when window stop or start being submitted.

Fix 718e15c7d while preserving its intended property. Tested by "docking_window_appearing_layout". (#2109)
This commit is contained in:
ocornut
2021-12-02 18:39:52 +01:00
parent 6afcfe3442
commit 8733ca49b0
3 changed files with 24 additions and 20 deletions

View File

@ -159,6 +159,7 @@ Docking+Viewports Branch:
- Docking: Fixed a bug undocking windows docked into a non-visible or _KeepAliveOnly dockspace
when unrelated windows submitted before the dockspace have dynamic visibility. (#4757)
- Docking: Fixed incorrectly rounded tab bars for dock node that are not at the top of their dock tree.
- Docking: Fixed single-frame node pos/size inconsistencies when window stop or start being submitted.
- Viewports: Made it possible to explicitly assign ImGuiWindowClass::ParentViewportId to 0 in order
to ensure a window is not parented. Previously this would use the global default (which might be 0,
but not always as it would depend on io.ConfigViewportsNoDefaultParent). (#3152, #2871)