Merge pull request #35105 from timothyqiu/center-container-min-size

Updates min size on CenterContainer::set_use_top_left
This commit is contained in:
Rémi Verschelde 2020-01-14 08:11:34 +01:00 committed by GitHub
commit 6a9b38741f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,13 @@ Size2 CenterContainer::get_minimum_size() const {
void CenterContainer::set_use_top_left(bool p_enable) {
if (use_top_left == p_enable) {
return;
}
use_top_left = p_enable;
minimum_size_changed();
queue_sort();
}