mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 22:23:07 +00:00
Updates min size on CenterContainer::set_use_top_left
This commit is contained in:
parent
34ad33d9e0
commit
66a54582ee
@ -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 New Issue
Block a user