You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Notify item_rect_changed before resized.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user