diff options
author | Robert Yevdokimov <robert.yevdokimov@autStand.com> | 2024-01-18 11:18:14 -0500 |
---|---|---|
committer | Robert Yevdokimov <robert.yevdokimov@autStand.com> | 2024-01-22 13:10:54 -0500 |
commit | 3bed6b1cb0718c44530edc4f4f738f4acbc48f56 (patch) | |
tree | 76fa3eb2375042b8eb5027dafca7dfc07e1fbda2 /editor/plugins/canvas_item_editor_plugin.cpp | |
parent | b6577ec5c7cb24f795125d1ce6b37c1bb122c0ff (diff) | |
download | redot-engine-3bed6b1cb0718c44530edc4f4f738f4acbc48f56.tar.gz |
Update the viewport if CanvasItem top level is changed
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 3722d6beba..30e0dc95c7 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -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(); |