mirror of
https://github.com/agam778/MS-365-Electron.git
synced 2026-02-17 09:02:10 +00:00
Add accelerator for Back, Forward and Reload buttons
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user