Revert "Update Control margins when size is overridden by change to minsize"

This commit is contained in:
Rémi Verschelde 2019-07-27 12:55:03 +02:00 committed by GitHub
parent 1107799de5
commit f494d5f10b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;