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 Apr 12, 2024
1 parent 5044f59 commit 3c0756a
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 @@ -2723,7 +2723,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 3c0756a

Please sign in to comment.