summaryrefslogtreecommitdiffstats
path: root/core/os/input_event.h
diff options
context:
space:
mode:
authorMax <maksloboda123@gmail.com>2018-07-27 14:02:30 +0300
committerMax <maksloboda123@gmail.com>2018-07-27 15:09:41 +0300
commitc2be1a75a0b93c2a0f8ec7c4df7f125d1a53eca4 (patch)
tree7325aadebcad4c1502e91bb6c837df2449ee6469 /core/os/input_event.h
parent25f1833890a643e07d31f5160917c46ec5665e9e (diff)
downloadredot-engine-c2be1a75a0b93c2a0f8ec7c4df7f125d1a53eca4.tar.gz
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 037649ed60..df89dd518c 100644
--- a/core/os/input_event.h
+++ b/core/os/input_event.h
@@ -467,6 +467,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;