From 5a0f3ee81c1285db7e7de09ab4ec513226a35450 Mon Sep 17 00:00:00 2001 From: pipipi-pikachu Date: Mon, 16 Oct 2023 21:50:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=93=E5=BC=80=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E5=BF=AB=E6=8D=B7=E9=94=AE=E9=94=99=E8=AF=AF?= =?UTF-8?q?(#226)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useGlobalHotkey.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useGlobalHotkey.ts b/src/hooks/useGlobalHotkey.ts index 8124476c..bfbe3217 100644 --- a/src/hooks/useGlobalHotkey.ts +++ b/src/hooks/useGlobalHotkey.ts @@ -152,7 +152,7 @@ export default () => { enterScreeningFromStart() return } - if (key === KEYS.F) { + if (ctrlKey && key === KEYS.F) { e.preventDefault() mainStore.setSearchPanelState(!showSearchPanel.value) return