Updates min size on CenterContainer::set_use_top_left

This commit is contained in:
Haoyu Qiu 2020-01-14 08:35:21 +08:00
parent 34ad33d9e0
commit 66a54582ee

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();
}