mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
remove keybaord reset on mouse leave.
This commit is contained in:
parent
fb5d9affd9
commit
cc6722fee2
@ -362,8 +362,6 @@
|
|||||||
|
|
||||||
onMouseLeave(e: MouseEvent) {
|
onMouseLeave(e: MouseEvent) {
|
||||||
if (this.isControling) {
|
if (this.isControling) {
|
||||||
this.keyboard.reset()
|
|
||||||
|
|
||||||
// save current keyboard modifiers state
|
// save current keyboard modifiers state
|
||||||
Vue.set(this, 'keyboardModifiers', {
|
Vue.set(this, 'keyboardModifiers', {
|
||||||
capslock: e.getModifierState('CapsLock'),
|
capslock: e.getModifierState('CapsLock'),
|
||||||
|
Loading…
Reference in New Issue
Block a user