mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	Docking: Fix IsWindowAppearing() and ImGuiCond_Appearing on docked windows. (#4177, #3982, #1497, #1061)
This commit is contained in:
		@@ -2101,6 +2101,7 @@ struct IMGUI_API ImGuiWindow
 | 
			
		||||
 | 
			
		||||
    // Docking
 | 
			
		||||
    bool                    DockIsActive        :1;             // When docking artifacts are actually visible. When this is set, DockNode is guaranteed to be != NULL. ~~ (DockNode != NULL) && (DockNode->Windows.Size > 1).
 | 
			
		||||
    bool                    DockNodeIsVisible   :1;
 | 
			
		||||
    bool                    DockTabIsVisible    :1;             // Is our window visible this frame? ~~ is the corresponding tab selected?
 | 
			
		||||
    bool                    DockTabWantClose    :1;
 | 
			
		||||
    short                   DockOrder;                          // Order of the last time the window was visible within its DockNode. This is used to reorder windows that are reappearing on the same frame. Same value between windows that were active and windows that were none are possible.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user