1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 09:09:47 +00:00

Fix canceling selection content resizing breaking the selection

This commit is contained in:
Emmanouil Papadeas 2024-01-25 00:45:49 +02:00
parent 56fe1840e0
commit f8b32762a1

View file

@ -151,8 +151,8 @@ func _input(event: InputEvent) -> void:
elif dragged_gizmo: # Mouse released, deselect gizmo elif dragged_gizmo: # Mouse released, deselect gizmo
Global.can_draw = true Global.can_draw = true
dragged_gizmo = null dragged_gizmo = null
original_bitmap = SelectionMap.new()
if not is_moving_content: if not is_moving_content:
original_bitmap = SelectionMap.new()
commit_undo("Select", undo_data) commit_undo("Select", undo_data)
if dragged_gizmo: if dragged_gizmo: