From be1311cfc10b1761b150924a4654b045b8fdd7d3 Mon Sep 17 00:00:00 2001 From: ocornut Date: Wed, 11 Oct 2023 21:40:21 +0200 Subject: [PATCH] Tables: fixed double-clicking on a column from clearing HoveredColumnBorder for a frame. --- imgui.h | 2 +- imgui_tables.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/imgui.h b/imgui.h index 46d3b3ba1322..47420c4448da 100644 --- a/imgui.h +++ b/imgui.h @@ -24,7 +24,7 @@ // Library Version // (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_NUM 18994 +#define IMGUI_VERSION_NUM 18995 #define IMGUI_HAS_TABLE /* diff --git a/imgui_tables.cpp b/imgui_tables.cpp index 95f900642400..c9acf5e7ae9e 100644 --- a/imgui_tables.cpp +++ b/imgui_tables.cpp @@ -1234,7 +1234,7 @@ void ImGui::TableUpdateBorders(ImGuiTable* table) { TableSetColumnWidthAutoSingle(table, column_n); ClearActiveID(); - held = hovered = false; + held = false; } if (held) {