Откат

This commit is contained in:
sasha80
2023-08-16 08:57:10 +03:00
parent 3caf6c7963
commit 0d1d132ec3
2 changed files with 3 additions and 2 deletions

View File

@@ -183,9 +183,9 @@ func set_columns_aligment(alignments: Array) -> void:
##
func _gui_input(event) -> void:
func _input(event) -> void:
if event is InputEventKey:
if not event.pressed:
if event.pressed and in_focus:
if event.keycode == selector_key_up:
selector_up()
elif event.keycode == selector_key_down: