File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ Other changes:
5757 which amusingly made it disappear when using very big font/frame size.
5858- Tables: fixed calling SetNextWindowScroll() on clipped scrolling table
5959 to not leak the value into a subsequent window. (#8196)
60+ - Tables: fixed an issue where Columns Visible/Hidden state wouldn't be correctly
61+ overridden when hot-reloading .ini state. (#7934)
6062- TextLinkOpenURL(): fixed default Win32 io.PlatformOpenInShellFn handler to
6163 handle UTF-8 regardless of system regional settings. (#7660) [@achabense]
6264- Demo: Combos: demonstrate a very simple way to add a filter to a combo,
@@ -67,6 +69,7 @@ Other changes:
6769- Backends: WebGPU: Fix for DAWN API rename WGPUProgrammableStageDescriptor -> WGPUComputeState.
6870 [@PhantomCloak] (#8369)
6971
72+
7073-----------------------------------------------------------------------
7174 VERSION 1.91.8 (Released 2025-01-31)
7275-----------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -2944,7 +2944,7 @@ struct ImGuiTableColumnSettings
29442944 ImGuiTableColumnIdx DisplayOrder;
29452945 ImGuiTableColumnIdx SortOrder;
29462946 ImU8 SortDirection : 2 ;
2947- ImU8 IsEnabled : 1 ; // "Visible" in ini file
2947+ ImS8 IsEnabled : 2 ; // "Visible" in ini file
29482948 ImU8 IsStretch : 1 ;
29492949
29502950 ImGuiTableColumnSettings ()
@@ -2954,7 +2954,7 @@ struct ImGuiTableColumnSettings
29542954 Index = -1 ;
29552955 DisplayOrder = SortOrder = -1 ;
29562956 SortDirection = ImGuiSortDirection_None;
2957- IsEnabled = 1 ;
2957+ IsEnabled = - 1 ;
29582958 IsStretch = 0 ;
29592959 }
29602960};
Original file line number Diff line number Diff line change @@ -3741,7 +3741,7 @@ void ImGui::TableLoadSettings(ImGuiTable* table)
37413741 else
37423742 column->DisplayOrder = (ImGuiTableColumnIdx)column_n;
37433743 display_order_mask |= (ImU64)1 << column->DisplayOrder ;
3744- column->IsUserEnabled = column->IsUserEnabledNextFrame = column_settings->IsEnabled ;
3744+ column->IsUserEnabled = column->IsUserEnabledNextFrame = ( column_settings->IsEnabled != - 1 ? column_settings-> IsEnabled == 1 : (column-> Flags & ImGuiTableColumnFlags_DefaultHide) ? 0 : 1 ) ;
37453745 column->SortOrder = column_settings->SortOrder ;
37463746 column->SortDirection = column_settings->SortDirection ;
37473747 }
You can’t perform that action at this time.
0 commit comments