From a20fe279c5b022a2df2510081b1f32605d9f4dce Mon Sep 17 00:00:00 2001 From: omar Date: Wed, 29 Nov 2017 23:33:31 +0100 Subject: [PATCH] Demo: Layout: Removed unnecessary BeginChild/EndChild calls --- imgui_demo.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/imgui_demo.cpp b/imgui_demo.cpp index 30a4ce464..a25226212 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -2807,11 +2807,9 @@ static void ShowExampleAppLayout(bool* p_open) ImGui::Separator(); ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. "); ImGui::EndChild(); - ImGui::BeginChild("buttons"); if (ImGui::Button("Revert")) {} ImGui::SameLine(); if (ImGui::Button("Save")) {} - ImGui::EndChild(); ImGui::EndGroup(); } ImGui::End();