mirror of
https://github.com/ocornut/imgui.git
synced 2026-04-26 17:24:24 +00:00
Docking+Viewports: Fixed extraneous viewport+platform-window recreation. Part 1.
Part 1: Add counters. Amend logs. Refer to "viewport_owner_change_1" and "viewport_owner_change_2" in ImGuiTestSuite.
This commit is contained in:
@@ -151,6 +151,11 @@ Other changes:
|
||||
|
||||
Docking+Viewports Branch:
|
||||
|
||||
- Viewports+Docking: Fixed extraneous viewport+platform-window recreation in various
|
||||
combination of showing or hiding windows, docking with/without split, undocking.
|
||||
While with some backends and without OS decorations, some extraneous window recreation
|
||||
were visibly not noticeable, they would typically become noticeable when enabling
|
||||
OS decorations on those windows (e.g. Windows title bar fade-in/animation).
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user