From fee4f82ab53315fbd95186293e2ce197e344a96a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Mon, 12 Apr 2021 13:32:52 +0000 Subject: [PATCH] bug: correct keyboard reset. --- src/component/overlay.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/component/overlay.vue b/src/component/overlay.vue index f8a65b0b..787f6fc9 100644 --- a/src/component/overlay.vue +++ b/src/component/overlay.vue @@ -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) {