mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
bug: correct keyboard reset.
This commit is contained in:
parent
7eaffd74a8
commit
fee4f82ab5
@ -218,9 +218,6 @@
|
||||
}
|
||||
|
||||
onMouseLeave(e: MouseEvent) {
|
||||
this._overlay.blur()
|
||||
this.focused = false
|
||||
|
||||
if (this.isControling) {
|
||||
this.keyboard.reset()
|
||||
|
||||
@ -230,6 +227,9 @@
|
||||
numlock: e.getModifierState('NumLock'),
|
||||
})
|
||||
}
|
||||
|
||||
this._overlay.blur()
|
||||
this.focused = false
|
||||
}
|
||||
|
||||
onDragEnter(e: DragEvent) {
|
||||
|
Loading…
Reference in New Issue
Block a user