1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-31 03:20:05 +00:00

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

This commit is contained in:
cfillion 2024-03-18 02:10:46 -04:00 committed by ocornut
parent 38ddfb24f0
commit 29ff159f94
2 changed files with 3 additions and 0 deletions

View file

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