do not remove focus on mouse leave.

This commit is contained in:
Miroslav Šedivý 2022-05-03 21:46:16 +02:00
parent 9ba33292ea
commit 63cad4df72

View File

@ -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
} }