Skip to content

Commit

Permalink
fix escape on PDF presenting
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfbrito committed Apr 17, 2024
1 parent b42ca54 commit 0b6879f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/main/serverView/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const initializeServerWebContentsAfterAttach = (

const shortcutKey = process.platform === 'darwin' ? 'Meta' : 'Control';

if (key !== shortcutKey) {
if (key !== shortcutKey && key !== 'Escape') {
return;
}

Expand Down

0 comments on commit 0b6879f

Please sign in to comment.