From 3ad3697c84c4acca4856111b5c62b29ebfac08dd Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Mon, 3 May 2021 02:08:53 +0300 Subject: [PATCH] Fix issue with gizmos not working if the user has moved the selection with contents first --- src/UI/Canvas/Selection.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/Canvas/Selection.gd b/src/UI/Canvas/Selection.gd index b3b8556e8..04548b083 100644 --- a/src/UI/Canvas/Selection.gd +++ b/src/UI/Canvas/Selection.gd @@ -101,9 +101,9 @@ func _input(event : InputEvent) -> void: Global.has_focus = false mouse_pos_on_gizmo_drag = Global.canvas.current_pixel dragged_gizmo = gizmo + temp_bitmap = Global.current_project.selection_bitmap if !is_moving_content: temp_rect = big_bounding_rectangle - temp_bitmap = Global.current_project.selection_bitmap transform_content_start() Global.current_project.selection_offset = Vector2.ZERO if gizmo.type == Gizmo.Type.ROTATE: