summaryrefslogtreecommitdiffstats
path: root/core/os/input_event.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-07-28 09:48:44 +0200
committerGitHub <noreply@github.com>2018-07-28 09:48:44 +0200
commite6aec27428400d35c6d431044ae0b5e6c9649d53 (patch)
tree1e9cf14e00eeb68488609360a7d68bc09a1fdcd8 /core/os/input_event.h
parent66429a1576402376c5e0a4c0ecce113904a98d49 (diff)
parentc2be1a75a0b93c2a0f8ec7c4df7f125d1a53eca4 (diff)
downloadredot-engine-e6aec27428400d35c6d431044ae0b5e6c9649d53.tar.gz
Merge pull request #20511 from maksloboda/InputEventActionFix
Fixed shortcuts not working with InputEventActions
Diffstat (limited to 'core/os/input_event.h')
-rw-r--r--core/os/input_event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/os/input_event.h b/core/os/input_event.h
index 04126fee77..07df81488b 100644
--- a/core/os/input_event.h
+++ b/core/os/input_event.h
@@ -480,6 +480,7 @@ public:
virtual bool is_action(const StringName &p_action) const;
+ virtual bool shortcut_match(const Ref<InputEvent> &p_event) const;
virtual bool is_action_type() const { return true; }
virtual String as_text() const;