From dd8110479b3edbce8b9562b662cf53a479c0756c Mon Sep 17 00:00:00 2001 From: Agampreet Singh <68941022+agam778@users.noreply.github.com> Date: Sun, 11 Jun 2023 23:24:54 +0530 Subject: [PATCH] Add accelerator for Back, Forward and Reload buttons --- app/menu.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/menu.js b/app/menu.js index aceb601..5dadb43 100644 --- a/app/menu.js +++ b/app/menu.js @@ -775,18 +775,21 @@ const menulayout = [ click: () => { BrowserWindow.getFocusedWindow().webContents.goBack(); }, + accelerator: "AltOrOption+Left", }, { label: "Forward", click: () => { BrowserWindow.getFocusedWindow().webContents.goForward(); }, + accelerator: "AltOrOption+Right", }, { label: "Reload", click: () => { BrowserWindow.getFocusedWindow().webContents.reload(); }, + accelerator: "CmdOrCtrl+R", }, { label: "Home",