We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc54af7 commit 71b7b2cCopy full SHA for 71b7b2c
doc/classes/Shortcut.xml
@@ -17,7 +17,7 @@
17
save_shortcut.set_events([key_event])
18
19
func _input(event:InputEvent) -> void:
20
- if save_shortcut.matches_event(event):
+ if save_shortcut.matches_event(event) and event.is_pressed() and not event.is_echo():
21
print("Save shortcut pressed!")
22
[/codeblock]
23
</description>
0 commit comments