diff options
Diffstat (limited to 'scene/gui/popup.cpp')
| -rw-r--r-- | scene/gui/popup.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/popup.cpp b/scene/gui/popup.cpp index 80ec7049fc..b7601bdd3e 100644 --- a/scene/gui/popup.cpp +++ b/scene/gui/popup.cpp @@ -65,7 +65,7 @@ void Popup::_notification(int p_what) {  void Popup::_fix_size() {  	Point2 pos = get_global_position(); -	Size2 size = get_size(); +	Size2 size = get_size() * get_scale();  	Point2 window_size = get_viewport_rect().size;  	if (pos.x + size.width > window_size.width)  |