From f8b32762a134dbb8530f35f016192378f2867568 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas Date: Thu, 25 Jan 2024 00:45:49 +0200 Subject: [PATCH] Fix canceling selection content resizing breaking the selection --- 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 f69d770fe..eb1fe17f0 100644 --- a/src/UI/Canvas/Selection.gd +++ b/src/UI/Canvas/Selection.gd @@ -151,8 +151,8 @@ func _input(event: InputEvent) -> void: elif dragged_gizmo: # Mouse released, deselect gizmo Global.can_draw = true dragged_gizmo = null - original_bitmap = SelectionMap.new() if not is_moving_content: + original_bitmap = SelectionMap.new() commit_undo("Select", undo_data) if dragged_gizmo: