mirror of
https://github.com/ocornut/imgui.git
synced 2025-09-15 07:48:25 +00:00
Not sure what I did with 05742f9b6f
but I missed on the primary filter.
This commit is contained in:
@@ -43,6 +43,10 @@ Breaking changes:
|
|||||||
|
|
||||||
Other changes:
|
Other changes:
|
||||||
|
|
||||||
|
- Tables: Fixed assert when loading .ini settings of reordered columns. (#8496, #7934)
|
||||||
|
- Tables: Fixed issues when loading .ini settings for a table with columns using
|
||||||
|
ImGuiTableColumnFlags_DefaultHide or ImGuiTableColumnFlags_DefaultSort. (#8496, #7934)
|
||||||
|
|
||||||
|
|
||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
VERSION 1.91.9 (Released 2025-03-14)
|
VERSION 1.91.9 (Released 2025-03-14)
|
||||||
|
@@ -1638,9 +1638,9 @@ void ImGui::TableSetupColumn(const char* label, ImGuiTableColumnFlags flags, flo
|
|||||||
column->InitStretchWeightOrWidth = init_width_or_weight;
|
column->InitStretchWeightOrWidth = init_width_or_weight;
|
||||||
if (table->IsInitializing)
|
if (table->IsInitializing)
|
||||||
{
|
{
|
||||||
ImGuiTableFlags init_flags = ~0;
|
ImGuiTableFlags init_flags = ~table->SettingsLoadedFlags;
|
||||||
if (column->WidthRequest >= 0.0f || column->StretchWeight >= 0.0f)
|
if (column->WidthRequest < 0.0f && column->StretchWeight < 0.0f)
|
||||||
init_flags &= ~ImGuiTableFlags_Resizable;
|
init_flags |= ImGuiTableFlags_Resizable;
|
||||||
TableInitColumnDefaults(table, column, init_flags);
|
TableInitColumnDefaults(table, column, init_flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user