Merge pull request #82203 from KoBeWi/shortcuts_under_pressure
Make InputEventShortcut always pressed
This commit is contained in:
commit
0b4959bdf0
|
@ -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