mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-30 04:31:06 +01:00 
			
		
		
		
	Tabs: Fixed ShrinkWidths() redistribution of remainder leading to infinite bug (second fix). (#5652, #5262)
Amend b137f31
			
			
This commit is contained in:
		| @@ -13236,7 +13236,7 @@ void ImGui::DebugNodeTabBar(ImGuiTabBar* tab_bar, const char* label) | ||||
|             PushID(tab); | ||||
|             if (SmallButton("<")) { TabBarQueueReorder(tab_bar, tab, -1); } SameLine(0, 2); | ||||
|             if (SmallButton(">")) { TabBarQueueReorder(tab_bar, tab, +1); } SameLine(); | ||||
|             Text("%02d%c Tab 0x%08X '%s' Offset: %.1f, Width: %.1f/%.1f", | ||||
|             Text("%02d%c Tab 0x%08X '%s' Offset: %.2f, Width: %.2f/%.2f", | ||||
|                 tab_n, (tab->ID == tab_bar->SelectedTabId) ? '*' : ' ', tab->ID, (tab->NameOffset != -1) ? tab_bar->GetTabName(tab) : "???", tab->Offset, tab->Width, tab->ContentWidth); | ||||
|             PopID(); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user