1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

Tables: fixed initial auto-sizing issue with synched-instances. (#8045, #7218)

This commit is contained in:
ocornut 2024-10-08 19:45:58 +02:00
parent c3629adbeb
commit f3d242a90d
3 changed files with 3 additions and 2 deletions

View file

@ -1160,7 +1160,7 @@ void ImGui::TableUpdateLayout(ImGuiTable* table)
}
// Don't decrement auto-fit counters until container window got a chance to submit its items
if (table->HostSkipItems == false)
if (table->HostSkipItems == false && table->InstanceCurrent == 0)
{
column->AutoFitQueue >>= 1;
column->CannotSkipItemsQueue >>= 1;