reduce hotkey timeout

This commit is contained in:
Eugene Pankov
2021-08-15 13:25:14 +02:00
parent 98e52f50a9
commit 8b33f98c79

View File

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