From 6081bb5941c1b2cc383f2db1d37e697518960596 Mon Sep 17 00:00:00 2001 From: Christopher Chedeau Date: Sun, 6 Dec 2020 01:41:13 -0800 Subject: [PATCH] Do not override cmd/ctrl-f for search (#2461) F is full screen but we shouldn't override cmd/ctrl-f for search. It's useful for searching in the list of keywords --- src/actions/actionMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/actionMenu.tsx b/src/actions/actionMenu.tsx index aa98bd30..7abe74c4 100644 --- a/src/actions/actionMenu.tsx +++ b/src/actions/actionMenu.tsx @@ -66,7 +66,7 @@ export const actionFullScreen = register({ commitToHistory: false, }; }, - keyTest: (event) => event.code === CODES.F, + keyTest: (event) => event.code === CODES.F && !event[KEYS.CTRL_OR_CMD], }); export const actionShortcuts = register({