Tables: fixed dragging a header to reorder outside of visible bounds (due to horizontal scrolling) from losing active id.

This commit is contained in:
ocornut
2026-04-01 20:03:30 +02:00
parent 9df0d38d45
commit 6603cdef98
3 changed files with 7 additions and 2 deletions
+1
View File
@@ -3044,6 +3044,7 @@ struct IMGUI_API ImGuiTable
ImGuiTableColumnIdx ResizedColumn; // Index of column being resized. Reset when InstanceCurrent==0.
ImGuiTableColumnIdx LastResizedColumn; // Index of column being resized from previous frame.
ImGuiTableColumnIdx HeldHeaderColumn; // Index of column header being held.
ImGuiTableColumnIdx LastHeldHeaderColumn; // Index of column header being held from previous frame.
ImGuiTableColumnIdx ReorderColumn; // Index of column being reordered. (not cleared)
ImGuiTableColumnIdx ReorderColumnDstOrder; // Requested display order of column being reordered.
ImGuiTableColumnIdx LeftMostEnabledColumn; // Index of left-most non-hidden column.