Update last min size when Control becomes visible

(cherry picked from commit 4ac999cc3f)
This commit is contained in:
Haoyu Qiu 2022-05-22 15:49:42 +08:00 committed by Rémi Verschelde
parent 61278499aa
commit 4a03bc8f75

View File

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