mirror of
https://github.com/godotengine/godot.git
synced 2025-04-01 00:41:35 +08:00
Merge pull request #87343 from ryevdokimov/fix-2d-top-level-2
Update the viewport if CanvasItem top level is changed
This commit is contained in:
commit
8f51117445
@ -3933,7 +3933,7 @@ void CanvasItemEditor::_notification(int p_what) {
|
||||
} else {
|
||||
rect = Rect2();
|
||||
}
|
||||
Transform2D xform = ci->get_transform();
|
||||
Transform2D xform = ci->get_global_transform();
|
||||
|
||||
if (rect != se->prev_rect || xform != se->prev_xform) {
|
||||
viewport->queue_redraw();
|
||||
|
Loading…
x
Reference in New Issue
Block a user