From 0148881946a42087d7bbc4f6e5225086a528ba8c Mon Sep 17 00:00:00 2001 From: Jonathan Belcher Date: Wed, 13 May 2020 22:21:07 -0400 Subject: [PATCH] Add bacxk ctrl/cmd + f to electron --- lib/app.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/app.tsx b/lib/app.tsx index 1b9df7a2b..8062179ff 100644 --- a/lib/app.tsx +++ b/lib/app.tsx @@ -210,7 +210,10 @@ export const App = connect( return false; } - if (cmdOrCtrl && shiftKey && 'KeyS' === code) { + if ( + (cmdOrCtrl && shiftKey && 'KeyS' === code) || + (isElectron && cmdOrCtrl && !shiftKey && 'KeyF' === code) + ) { this.props.focusSearchField(); event.stopPropagation();