From 45a8b931df8f54713500fe830ccca859255e2ace Mon Sep 17 00:00:00 2001 From: amyvmiwei Date: Thu, 4 Jul 2024 11:28:35 +0800 Subject: [PATCH] update ImGui::End() to ImGui::EndChild() --- imgui-editor/dependencies/modals/modals.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui-editor/dependencies/modals/modals.cpp b/imgui-editor/dependencies/modals/modals.cpp index 3cedc11..1ef3252 100644 --- a/imgui-editor/dependencies/modals/modals.cpp +++ b/imgui-editor/dependencies/modals/modals.cpp @@ -47,7 +47,7 @@ void modalManager::Instance() ) && ImGui::IsMouseClicked(0) && !ImGui::IsPopupOpen("", ImGuiPopupFlags_AnyPopupId)) m_bShow = false; } - ImGui::End(); + ImGui::EndChild(); } ImGui::End(); } \ No newline at end of file