Skip to content

Commit

Permalink
Columns: Fixed previous commit (wrong chunk commited) (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocornut committed Dec 15, 2017
1 parent b9391d1 commit b1d90b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10807,7 +10807,7 @@ void ImGui::NextColumn()
if (++columns->Current < columns->Count)
{
// Columns 1+ cancel out IndentX
window->DC.ColumnsOffsetX = columns->Columns[columns->Current].LockedOffset - window->DC.IndentX + g.Style.ItemSpacing.x;
window->DC.ColumnsOffsetX = GetColumnOffset(columns->Current) - window->DC.IndentX + g.Style.ItemSpacing.x;
window->DrawList->ChannelsSetCurrent(columns->Current);
}
else
Expand Down

0 comments on commit b1d90b5

Please sign in to comment.