Explorar o código

Update last min size when Control becomes visible

(cherry picked from commit 4ac999cc3fa0d7740356aaafe7ab44da2b16e7dd)
Haoyu Qiu %!s(int64=3) %!d(string=hai) anos
pai
achega
4a03bc8f75
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      scene/gui/control.cpp

+ 1 - 0
scene/gui/control.cpp

@@ -652,6 +652,7 @@ void Control::_notification(int p_notification) {
 				//remove modalness
 			} else {
 				data.minimum_size_valid = false;
+				_update_minimum_size();
 				_size_changed();
 			}