diff options
author | kobewi <kobewi4e@gmail.com> | 2023-09-23 19:43:07 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2023-09-23 19:43:07 +0200 |
commit | 90a0b193010d8efb06d9051b0486e27c9b9b263c (patch) | |
tree | e3ef9e987dede33b12778b4116bb59871f390dc9 /core/input/input_event.cpp | |
parent | c12d63556b5c1da03a00dd4c45c40e60bd8d68c2 (diff) | |
download | redot-engine-90a0b193010d8efb06d9051b0486e27c9b9b263c.tar.gz |
Make InputEventShortcut always pressed
Diffstat (limited to 'core/input/input_event.cpp')
-rw-r--r-- | core/input/input_event.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/input/input_event.cpp b/core/input/input_event.cpp index 9e341b2157..e99dd04599 100644 --- a/core/input/input_event.cpp +++ b/core/input/input_event.cpp @@ -1802,3 +1802,7 @@ String InputEventShortcut::to_string() { return vformat("InputEventShortcut: shortcut=%s", shortcut->get_as_text()); } + +InputEventShortcut::InputEventShortcut() { + pressed = true; +} |