Skip to content

Commit

Permalink
chore: add reload and toggleDevTools buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsojramos committed Jul 2, 2024
1 parent c4a7c14 commit 57fd301
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,12 @@ const browserWindowOpts = {

const contextMenu = Menu.buildFromTemplate([
{
label: 'View',
submenu: [
{ role: 'reload' },
{ role: 'toggleDevTools' },
{ type: 'separator' },
{ role: 'resetZoom' },
{ role: 'zoomIn' },
{ role: 'zoomOut' },
],
role: 'reload',
},
{
role: 'toggleDevTools',
},
{ type: 'separator' },
{
label: 'Quit',
click: () => {
Expand Down

0 comments on commit 57fd301

Please sign in to comment.