mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-25 22:26:06 +00:00
Tables: fixed an issue with TableSetupColumn() overriding ini data. (#7934)
Amend 05742f9b6f
This commit is contained in:
@@ -1637,7 +1637,7 @@ void ImGui::TableSetupColumn(const char* label, ImGuiTableColumnFlags flags, flo
|
||||
if (table->IsInitializing)
|
||||
{
|
||||
ImGuiTableFlags init_flags = ~0;
|
||||
if (column->WidthRequest >= 0.0f && column->StretchWeight >= 0.0f)
|
||||
if (column->WidthRequest >= 0.0f || column->StretchWeight >= 0.0f)
|
||||
init_flags &= ~ImGuiTableFlags_Resizable;
|
||||
TableInitColumnDefaults(table, column, init_flags);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user