Tables: Angled headers: fixed borders not moving back up after TableAngleHeadersRow stops being called. (#7416)

features/potocpav-newer-lines-2
cfillion ago%!(EXTRA string=1 year) committed by ocornut
parent 38ddfb24f0
commit 29ff159f94
  1. 2
      docs/CHANGELOG.txt
  2. 1
      imgui_tables.cpp

@ -57,6 +57,8 @@ Other changes:
- Windows: Double-click to collapse may be disabled via key-ownership mechanism. (#7369)
- Tables: Angled headers: fixed border hit box extending beyond when used within
non-scrollable tables. (#7416) [@cfillion]
- Tables: Angled headers: fixed borders not moving back up after TableAngleHeadersRow()
stops being called. (#7416) [@cfillion]
- Menus, Popups: Fixed an issue where sibling menu popups re-opening in successive
frames would erroneously close the window. While it is technically a popup issue
it would generally manifest when fast moving the mouse bottom to top in a sub-menu.

@ -498,6 +498,7 @@ bool ImGui::BeginTableEx(const char* name, ImGuiID id, int columns_count, ImG
table->DeclColumnsCount = table->AngledHeadersCount = 0;
if (previous_frame_active + 1 < g.FrameCount)
table->IsActiveIdInTable = false;
table->AngledHeadersHeight = 0.0f;
temp_data->AngledHeadersExtraWidth = 0.0f;
// Using opaque colors facilitate overlapping lines of the grid, otherwise we'd need to improve TableDrawBorders()

Loading…
Cancel
Save