Make InputEventShortcut always pressed
This commit is contained in:
parent
c12d63556b
commit
90a0b19301
|
@ -1802,3 +1802,7 @@ String InputEventShortcut::to_string() {
|
|||
|
||||
return vformat("InputEventShortcut: shortcut=%s", shortcut->get_as_text());
|
||||
}
|
||||
|
||||
InputEventShortcut::InputEventShortcut() {
|
||||
pressed = true;
|
||||
}
|
||||
|
|
|
@ -567,6 +567,8 @@ public:
|
|||
|
||||
virtual String as_text() const override;
|
||||
virtual String to_string() override;
|
||||
|
||||
InputEventShortcut();
|
||||
};
|
||||
|
||||
#endif // INPUT_EVENT_H
|
||||
|
|
Loading…
Reference in New Issue