mirror of
https://github.com/godotengine/godot.git
synced 2025-01-24 11:32:51 -05:00
Merge pull request #30865 from godotengine/revert-28952-update-margins
Revert "Update Control margins when size is overridden by change to minsize"
This commit is contained in:
commit
94aabf56a0
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ void Control::_update_minimum_size() {
|
|||
Size2 minsize = get_combined_minimum_size();
|
||||
if (minsize.x > data.size_cache.x ||
|
||||
minsize.y > data.size_cache.y) {
|
||||
set_size(data.size_cache);
|
||||
_size_changed();
|
||||
}
|
||||
|
||||
data.updating_last_minimum_size = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue