Tables: fixed double-clicking on a column from clearing HoveredColumnBorder for a frame.

This commit is contained in:
ocornut 2023-10-11 21:40:21 +02:00
parent 08606714a3
commit be1311cfc1
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
// Library Version // Library Version
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM >= 12345') // (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM >= 12345')
#define IMGUI_VERSION "1.90 WIP" #define IMGUI_VERSION "1.90 WIP"
#define IMGUI_VERSION_NUM 18994 #define IMGUI_VERSION_NUM 18995
#define IMGUI_HAS_TABLE #define IMGUI_HAS_TABLE
/* /*

View File

@ -1234,7 +1234,7 @@ void ImGui::TableUpdateBorders(ImGuiTable* table)
{ {
TableSetColumnWidthAutoSingle(table, column_n); TableSetColumnWidthAutoSingle(table, column_n);
ClearActiveID(); ClearActiveID();
held = hovered = false; held = false;
} }
if (held) if (held)
{ {