Project Manager: Update template dialog position after window resize

This commit is contained in:
lupoDharkael 2019-10-01 12:10:58 +02:00
parent 680bcb1ef4
commit 4753c51de6

View File

@ -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())