From 168b59ccf3d3d553d957644e4d537cad56a1f661 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Wed, 22 Nov 2023 21:18:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=AE=BE=E7=BD=AE=E5=BF=AB=E6=8D=B7?= =?UTF-8?q?=E9=94=AE=E4=B8=BAUnknown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ui/hotkey.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/hotkey.vue b/src/ui/hotkey.vue index ad6c768..bcc44f4 100644 --- a/src/ui/hotkey.vue +++ b/src/ui/hotkey.vue @@ -166,7 +166,8 @@ function keyup(e: KeyboardEvent) { if ( code === KeyCode.Ctrl || code === KeyCode.Shift || - code === KeyCode.Alt + code === KeyCode.Alt || + code === KeyCode.Unknown ) { const data = hotkey.data[id]; key.assist = generateBinary([data.ctrl, data.shift, data.alt]);