Skip to content

Commit

Permalink
feat: add accelerator shortcuts (#1396)
Browse files Browse the repository at this point in the history
  • Loading branch information
setchy authored Jul 22, 2024
1 parent 5d3483e commit c9cbbc0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,16 @@ const browserWindowOpts = {
const contextMenu = Menu.buildFromTemplate([
{
role: 'reload',
accelerator: 'CommandOrControl+R',
},
{
role: 'toggleDevTools',
accelerator: 'CommandOrControl+I',
},
{ type: 'separator' },
{
label: 'Quit',
accelerator: 'CommandOrControl+Q',
click: () => {
app.quit();
},
Expand Down

0 comments on commit c9cbbc0

Please sign in to comment.