From b8c24aff4cbcfcbee8f06c1c2b77de012e4a45ca Mon Sep 17 00:00:00 2001 From: omar Date: Tue, 5 Feb 2019 18:03:27 +0100 Subject: [PATCH] Internals: EndGroup: Removed unnecesary parameter to ItemSize() --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index c4bf4614..877ca71b 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -6573,7 +6573,7 @@ void ImGui::EndGroup() 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. - ItemSize(group_bb.GetSize(), group_data.BackupCurrentLineTextBaseOffset); + ItemSize(group_bb.GetSize(), 0.0f); ItemAdd(group_bb, 0); }