mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 12:08:47 +02:00
Docking, Viewport: Reworked viewport inheritance/transition so that extracting a dock node from a split node owning its viewport will have both viewports be in the expected OS z-order. (The lower window re-use the exiting viewport, the detached node uses a new viewport:
This commit is contained in:
@ -761,7 +761,8 @@ struct ImGuiDockNode
|
||||
ImGuiID LastFocusedNodeID; // [Root node only] Which of our child node (any ancestor in the hierarchy) was last focused.
|
||||
ImGuiID SelectedTabID; // [Tab node only] Which of our tab is selected.
|
||||
ImGuiID WantCloseTabID; // [Tab node only] Set when closing a specific tab.
|
||||
bool InitFromFirstWindow :1;
|
||||
bool InitFromFirstWindowPosSize :1;
|
||||
bool InitFromFirstWindowViewport :1;
|
||||
bool IsVisible :1; // Set to false when the node is hidden (usually disabled as it has no active window)
|
||||
bool IsDockSpace :1; // Root node was created by a DockSpace() call.
|
||||
bool IsDocumentRoot :1;
|
||||
|
Reference in New Issue
Block a user