reduce hotkey timeout

This commit is contained in:
Eugene Pankov 2021-08-15 13:25:14 +02:00
parent 98e52f50a9
commit 8b33f98c79
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -122,7 +122,7 @@ export class HotkeysService {
}
for (const [key, time] of this.pressedKeyTimestamps.entries()) {
if (time < performance.now() - 5000) {
if (time < performance.now() - 2000) {
this.removePressedKey(key)
}
}