mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-28 08:49:02 +08:00
BeginGroup() fixed using within Columns set (fix #630)
This commit is contained in:
parent
0058492156
commit
9b79327673
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user