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