Notify item_rect_changed before resized.
This commit is contained in:
parent
4ab8fb8093
commit
819c392ca3
1 changed files with 1 additions and 1 deletions
|
@ -1744,10 +1744,10 @@ void Control::_size_changed() {
|
||||||
// so an up to date global transform could be obtained when handling these.
|
// so an up to date global transform could be obtained when handling these.
|
||||||
_notify_transform();
|
_notify_transform();
|
||||||
|
|
||||||
|
item_rect_changed(size_changed);
|
||||||
if (size_changed) {
|
if (size_changed) {
|
||||||
notification(NOTIFICATION_RESIZED);
|
notification(NOTIFICATION_RESIZED);
|
||||||
}
|
}
|
||||||
item_rect_changed(size_changed);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pos_changed && !size_changed) {
|
if (pos_changed && !size_changed) {
|
||||||
|
|
Loading…
Reference in a new issue