Skip to content

Commit 735ead8

Browse files
Update Shortcut.xml
1 parent 71b7b2c commit 735ead8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/classes/Shortcut.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
key_event.command_or_control_autoremap = true # Swaps ctrl for Command on Mac.
1717
save_shortcut.set_events([key_event])
1818

19-
func _input(event:InputEvent) -> void:
19+
func _input(event) -> void:
2020
if save_shortcut.matches_event(event) and event.is_pressed() and not event.is_echo():
2121
print("Save shortcut pressed!")
2222
[/codeblock]

0 commit comments

Comments
 (0)