Browse Source

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

pull/6926/head
ocornut 1 year ago
parent
commit
be1311cfc1
  1. 2
      imgui.h
  2. 2
      imgui_tables.cpp

2
imgui.h

@ -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
/* /*

2
imgui_tables.cpp

@ -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)
{ {

Loading…
Cancel
Save