Columns: Fixed previous commit (wrong chunk commited) (#125)

This commit is contained in:
omar 2017-12-15 17:09:41 +01:00
parent b9391d1692
commit b1d90b565d

View File

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