Skip to content

Commit

Permalink
BeginGroup() fixed using within Columns set (fix #630)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocornut committed May 4, 2016
1 parent 0058492 commit 9b79327
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 @@ -8911,7 +8911,7 @@ void ImGui::BeginGroup()
group_data.BackupLogLinePosY = window->DC.LogLinePosY;
group_data.AdvanceCursor = true;

window->DC.IndentX = window->DC.CursorPos.x - window->Pos.x;
window->DC.IndentX = window->DC.CursorPos.x - window->Pos.x - window->DC.ColumnsOffsetX;
window->DC.CursorMaxPos = window->DC.CursorPos;
window->DC.CurrentLineHeight = 0.0f;
window->DC.LogLinePosY = window->DC.CursorPos.y - 9999.0f;
Expand Down

0 comments on commit 9b79327

Please sign in to comment.