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
This commit is contained in:
Christopher Chedeau 2020-12-06 01:41:13 -08:00 committed by GitHub
parent 533815c081
commit 6081bb5941
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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({