Merge pull request #35105 from timothyqiu/center-container-min-size
Updates min size on CenterContainer::set_use_top_left
This commit is contained in:
commit
6a9b38741f
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue