Skip to content

Commit

Permalink
Zoom in/out and reset zoom functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse committed Nov 5, 2018
1 parent 47eca5c commit 48a2d40
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion public/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,13 @@ function setMainMenu(mainWindow) {
click() {
mainWindow.webContents.openDevTools();
}
}
},
{ type: 'separator' },
{ role: 'resetzoom' },
{ role: 'zoomin', accelerator: 'CmdOrCtrl+=' },
{ role: 'zoomout' },
{ type: 'separator' },
{ role: 'togglefullscreen' }
]
},
{
Expand Down

0 comments on commit 48a2d40

Please sign in to comment.