mirror of
https://github.com/ocornut/imgui.git
synced 2026-09-26 16:05:45 +03:00
parent
3e9d0f7e82
commit
1d7b37dc9b
1 changed files with 2 additions and 0 deletions
|
|
@ -3974,6 +3974,8 @@ void ImGui::TableSaveSettings(ImGuiTable* table)
|
|||
if (column->IsUserEnabled != ((column->Flags & ImGuiTableColumnFlags_DefaultHide) == 0))
|
||||
settings->SaveFlags |= ImGuiTableFlags_Hideable;
|
||||
}
|
||||
if (table->Flags & ImGuiTableFlags_Sortable)
|
||||
settings->SaveFlags |= ImGuiTableFlags_Sortable | ImGuiTableFlags_Reorderable;
|
||||
settings->SaveFlags &= table->Flags;
|
||||
settings->RefScale = save_ref_scale ? table->RefScale : 0.0f;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue