mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-10 07:16:33 -04:00
Cheer up linter
This commit is contained in:
parent
1fa04aaa2f
commit
40aba31190
|
|
@ -111,8 +111,7 @@ export class MinimalKey {
|
|||
if (this.optional) return "skip"
|
||||
return false
|
||||
}
|
||||
if (this.keydown && keyevent.repeat) return false
|
||||
return true
|
||||
return !(this.keydown && keyevent.repeat)
|
||||
}
|
||||
public translate(keytranslatemap: { [inkey: string]: string }): MinimalKey {
|
||||
let newkey = keytranslatemap[this.key]
|
||||
|
|
|
|||
Loading…
Reference in a new issue