diff options
| author | dakkar <dakkar@thenautilus.net> | 2024-06-07 11:40:44 +0100 |
|---|---|---|
| committer | dakkar <dakkar@thenautilus.net> | 2024-06-07 11:40:44 +0100 |
| commit | cb43994841935c6512c530c96ee409ffbd9f00f8 (patch) | |
| tree | 25e47b5362afe423866c820332cbd068e5dd7cad /packages/backend/src/server/api/endpoints/notes | |
| parent | merge: use the current resolver for quotes - #524 (!536) (diff) | |
| download | sharkey-cb43994841935c6512c530c96ee409ffbd9f00f8.tar.gz sharkey-cb43994841935c6512c530c96ee409ffbd9f00f8.tar.bz2 sharkey-cb43994841935c6512c530c96ee409ffbd9f00f8.zip | |
only allow a single boost via hotkey - fixes #467 #468
As usual, have to write the same thing four times ☹
The parentheses around `q` tell the hotkey/keymap code to ignore
auto-repeat events (which works fine in Chrome but not in Firefox, I
reported the bug https://bugzilla.mozilla.org/show_bug.cgi?id=1900397
)
In addition, I've added a guard variable that is true while calling
the backend to boost/renote, and false otherwise. This way, even in
Firefox we don't spam-boost. Unboosting is still *only with the
mouse*, I have not added that functionality.
Diffstat (limited to 'packages/backend/src/server/api/endpoints/notes')
0 files changed, 0 insertions, 0 deletions