From 5112ccf0188a86d8bba8bbecea8c8ed5ceb91034 Mon Sep 17 00:00:00 2001 From: Thakee Nathees Date: Sat, 4 Apr 2020 01:29:14 +0530 Subject: [PATCH] popup window position adjustment bug fix Fix: #37552 --- scene/main/window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/main/window.cpp b/scene/main/window.cpp index 45982e0e9398..c051eb74b3f2 100644 --- a/scene/main/window.cpp +++ b/scene/main/window.cpp @@ -1040,6 +1040,7 @@ void Window::popup(const Rect2i &p_screen_rect) { set_size(p_screen_rect.size); } + _update_window_size(); Rect2i adjust = _popup_adjust_rect(); if (adjust != Rect2i()) { set_position(adjust.position);