diff options
author | lupoDharkael <izhe@hotmail.es> | 2019-10-01 12:10:58 +0200 |
---|---|---|
committer | lupoDharkael <izhe@hotmail.es> | 2019-10-01 12:10:58 +0200 |
commit | 4753c51de6d7d3967bd322b2a669926ced8d4f54 (patch) | |
tree | ebb1b3ee709a06aefa78471e386afa979ec58ac8 /editor | |
parent | 680bcb1ef45c67da1b58ff3be84ca5e4fd1e40cf (diff) |
Project Manager: Update template dialog position after window resize
Diffstat (limited to 'editor')
-rw-r--r-- | editor/project_manager.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index f70dcab931..d903e153a7 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()) |