瀏覽代碼

Update last min size when Control becomes visible

(cherry picked from commit 4ac999cc3fa0d7740356aaafe7ab44da2b16e7dd)
Haoyu Qiu 3 年之前
父節點
當前提交
4a03bc8f75
共有 1 個文件被更改,包括 1 次插入0 次删除
  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();
 			}