mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-24 02:14:22 +00:00
Separator() within column correctly vertical offset all columns content (pointed out in #125)
This commit is contained in:
parent
2e9dea0619
commit
5b59f228ed
1 changed files with 3 additions and 0 deletions
|
|
@ -6210,7 +6210,10 @@ void ImGui::Separator()
|
|||
window->DrawList->AddLine(bb.Min, bb.Max, window->Color(ImGuiCol_Border));
|
||||
|
||||
if (window->DC.ColumnsCount > 1)
|
||||
{
|
||||
PushColumnClipRect();
|
||||
window->DC.ColumnsCellMinY = window->DC.CursorPos.y;
|
||||
}
|
||||
}
|
||||
|
||||
// A little vertical spacing.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue