mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
do not remove focus on mouse leave.
This commit is contained in:
parent
9ba33292ea
commit
63cad4df72
@ -122,7 +122,7 @@
|
|||||||
|
|
||||||
// Initialize Guacamole Keyboard
|
// Initialize Guacamole Keyboard
|
||||||
this.keyboard.onkeydown = (key: number) => {
|
this.keyboard.onkeydown = (key: number) => {
|
||||||
if (!this.focused || !this.isControling) {
|
if (!this.isControling) {
|
||||||
noKeyUp[key] = true
|
noKeyUp[key] = true
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
@ -337,7 +337,6 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
this._textarea.blur()
|
|
||||||
this.focused = false
|
this.focused = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user