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

Fix selection resizing not keeping the original bitmap after gizmo release

This commit is contained in:
Manolis Papadeas 2021-05-10 19:59:55 +03:00
parent e86dde2fb5
commit 24da4bd703

View file

@ -108,9 +108,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
if Input.is_action_pressed("alt"):
undo_data = _get_undo_data(false)
else: