Skip to content

Commit cb46672

Browse files
Add View menu and zoom functionality. #37
This is possible thanks to standard behavior in Electron 3.1.8.
1 parent b8713b3 commit cb46672

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/src/main.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,13 @@ let template = [
242242
{ role: 'selectall' },
243243
]
244244
},
245+
{ label: 'View',
246+
submenu: [
247+
{ role: 'resetzoom' },
248+
{ role: 'zoomin' },
249+
{ role: 'zoomout' },
250+
]
251+
},
245252
{ label: 'Cells',
246253
submenu: [
247254
{ label: 'Insert Evaluation Cell Above', click: handle('cell-insert-eval') },

0 commit comments

Comments
 (0)