From 4753c51de6d7d3967bd322b2a669926ced8d4f54 Mon Sep 17 00:00:00 2001 From: lupoDharkael Date: Tue, 1 Oct 2019 12:10:58 +0200 Subject: [PATCH] Project Manager: Update template dialog position after window resize --- editor/project_manager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index f70dcab931c..d903e153a78 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -1753,6 +1753,12 @@ void ProjectManager::_notification(int p_what) { Engine::get_singleton()->set_editor_hint(false); } break; + case NOTIFICATION_RESIZED: { + + if (open_templates->is_visible()) { + open_templates->popup_centered_minsize(); + } + } break; case NOTIFICATION_READY: { if (_project_list->get_project_count() == 0 && StreamPeerSSL::is_available())