mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-24 12:55:56 +00:00
Switch focus mode toggle to shift+escape to avoid conflict with Windows.
This commit is contained in:
parent
229353b37f
commit
d7b4744c6a
|
@ -208,7 +208,7 @@ func _input(event):
|
||||||
if (
|
if (
|
||||||
event is InputEventKey
|
event is InputEventKey
|
||||||
and Input.is_key_pressed(KEY_ESCAPE)
|
and Input.is_key_pressed(KEY_ESCAPE)
|
||||||
and Input.is_key_pressed(KEY_CONTROL)
|
and Input.is_key_pressed(KEY_SHIFT)
|
||||||
and not event.echo
|
and not event.echo
|
||||||
):
|
):
|
||||||
get_tree().set_input_as_handled()
|
get_tree().set_input_as_handled()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user