Skip to content

Commit 1948ba2

Browse files
committed
menu: Fix Zoom In shortcut.
This is a temporary fix. Ideally, 'CmdOrCtrl+Plus' works on all the platforms but because of electron/electron#6731 it converts accelerator to 'Ctrl+Shift+Plus'.
1 parent b8da7dd commit 1948ba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/main/menu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class AppMenu {
5454
role: 'togglefullscreen'
5555
}, {
5656
label: 'Zoom In',
57-
accelerator: 'CommandOrControl+Plus',
57+
accelerator: process.platform === 'darwin' ? 'Command+Plus' : 'Control+=',
5858
click(item, focusedWindow) {
5959
if (focusedWindow) {
6060
AppMenu.sendAction('zoomIn');

0 commit comments

Comments
 (0)