Skip to content
/ imgui Public
forked from ocornut/imgui

Commit

Permalink
revert "Tables: Fixed bottom-most and right-most outer border offset …
Browse files Browse the repository at this point in the history
…by one"

This reverts commit a340718, fixes ocornut#7428.
  • Loading branch information
cfillion committed Jul 3, 2024
1 parent 1f9fbf0 commit a7d1d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgui_tables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2740,7 +2740,7 @@ void ImGui::TableDrawBorders(ImGuiTable* table)
const ImU32 outer_col = table->BorderColorStrong;
if ((table->Flags & ImGuiTableFlags_BordersOuter) == ImGuiTableFlags_BordersOuter)
{
inner_drawlist->AddRect(outer_border.Min, outer_border.Max + ImVec2(1, 1), outer_col, 0.0f, 0, border_size);
inner_drawlist->AddRect(outer_border.Min, outer_border.Max, outer_col, 0.0f, 0, border_size);
}
else if (table->Flags & ImGuiTableFlags_BordersOuterV)
{
Expand Down

0 comments on commit a7d1d8e

Please sign in to comment.