Merge pull request #93800 from EAinsley/fix#92929

Fix incorrect size calculation when position is set on resized
This commit is contained in:
Rémi Verschelde 2024-08-28 00:11:25 +02:00
commit ea26272075
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -1746,10 +1746,10 @@ void Control::_size_changed() {
// so an up to date global transform could be obtained when handling these.
_notify_transform();
item_rect_changed(size_changed);
if (size_changed) {
notification(NOTIFICATION_RESIZED);
}
item_rect_changed(size_changed);
}
if (pos_changed && !size_changed) {