Update the viewport if CanvasItem top level is changed
This commit is contained in:
parent
b6577ec5c7
commit
3bed6b1cb0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue