diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-05-22 15:49:42 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-05-22 15:50:13 +0800 |
commit | 4ac999cc3fa0d7740356aaafe7ab44da2b16e7dd (patch) | |
tree | d8ebfe99b6d5328762736c6a824c0b9903856f4e | |
parent | 7b8c574401b3b3a211fd478eaa3fbb99b6dbb798 (diff) |
Update last min size when Control becomes visible
-rw-r--r-- | scene/gui/control.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 903e7a26a1..db78b4adb6 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -836,6 +836,7 @@ void Control::_notification(int p_notification) { } } else { data.minimum_size_valid = false; + _update_minimum_size(); _size_changed(); } } break; |