mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	Tab Bar: zero clear more structures.
This commit is contained in:
		| @@ -1740,7 +1740,7 @@ struct ImGuiTabItem | ||||
|     ImS16               IndexDuringLayout;      // Index only used during TabBarLayout() | ||||
|     bool                WantClose;              // Marked as closed by SetTabItemClosed() | ||||
|  | ||||
|     ImGuiTabItem()      { ID = 0; Flags = ImGuiTabItemFlags_None; LastFrameVisible = LastFrameSelected = -1; NameOffset = -1; Offset = Width = ContentWidth = 0.0f; BeginOrder = -1; IndexDuringLayout = -1; WantClose = false; } | ||||
|     ImGuiTabItem()      { memset(this, 0, sizeof(*this)); LastFrameVisible = LastFrameSelected = -1; NameOffset = BeginOrder = IndexDuringLayout = -1; } | ||||
| }; | ||||
|  | ||||
| // Storage for a tab bar (sizeof() 152 bytes) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user