diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 0682c11a9b2..c22f74d838c 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -1744,10 +1744,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) {