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

Don't move selection if there's a dialog open

This commit is contained in:
Manolis Papadeas 2022-09-01 00:21:18 +03:00
parent eef722946c
commit 3bfbf07d58

View file

@ -79,7 +79,7 @@ func _input(event: InputEvent) -> void:
elif Input.is_action_just_pressed("transformation_cancel"):
transform_content_cancel()
if event is InputEventKey:
if event is InputEventKey and Global.can_draw:
_move_with_arrow_keys(event)
elif event is InputEventMouse: