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

Alt + mouse click when resizing with gizmos now works as intended when there is an active transformation occurring

This commit is contained in:
Manolis Papadeas 2021-05-11 04:15:42 +03:00
parent 47e83d7163
commit 969b096efc

View file

@ -108,6 +108,8 @@ func _input(event : InputEvent) -> void:
Global.has_focus = false
mouse_pos_on_gizmo_drag = Global.canvas.current_pixel
dragged_gizmo = gizmo
if Input.is_action_pressed("alt"):
transform_content_confirm()
if !is_moving_content:
temp_rect = big_bounding_rectangle
temp_bitmap = Global.current_project.selection_bitmap