mirror of
https://github.com/Drezil/imgui.git
synced 2025-04-01 17:02:45 +00:00
Internals: EndGroup: Removed unnecesary parameter to ItemSize()
This commit is contained in:
parent
521470b3cd
commit
b8c24aff4c
@ -6573,7 +6573,7 @@ void ImGui::EndGroup()
|
|||||||
if (group_data.AdvanceCursor)
|
if (group_data.AdvanceCursor)
|
||||||
{
|
{
|
||||||
window->DC.CurrentLineTextBaseOffset = ImMax(window->DC.PrevLineTextBaseOffset, group_data.BackupCurrentLineTextBaseOffset); // FIXME: Incorrect, we should grab the base offset from the *first line* of the group but it is hard to obtain now.
|
window->DC.CurrentLineTextBaseOffset = ImMax(window->DC.PrevLineTextBaseOffset, group_data.BackupCurrentLineTextBaseOffset); // FIXME: Incorrect, we should grab the base offset from the *first line* of the group but it is hard to obtain now.
|
||||||
ItemSize(group_bb.GetSize(), group_data.BackupCurrentLineTextBaseOffset);
|
ItemSize(group_bb.GetSize(), 0.0f);
|
||||||
ItemAdd(group_bb, 0);
|
ItemAdd(group_bb, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user