Skip to content

Commit

Permalink
Adding menu options to zoom in/out (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmdh committed Mar 26, 2021
1 parent 39ac217 commit be15dd0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/renderer/lib/menu.js
Expand Up @@ -53,7 +53,17 @@ const template = [
},
{
label: "View",
submenu: [{ role: "reload" }, { role: "forceReload" }, { role: "toggleDevTools" }, { type: "separator" }, { role: "togglefullscreen" }]
submenu: [
{ role: "reload" },
{ role: "forceReload" },
{ role: "toggleDevTools" },
{ type: "separator" },
{ role: "resetzoom" },
{ role: "zoomin" },
{ role: "zoomout" },
{ type: "separator" },
{ role: "togglefullscreen" }
]
},
{
label: "Window",
Expand Down

0 comments on commit be15dd0

Please sign in to comment.