mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-11-11 07:41:04 +00:00
Merge branch 'development' of https://github.com/krishkumar/nativefier into krishkumar-development
- #90 Add keyboard shortcuts for back, forward
This commit is contained in:
commit
52c518f4b7
@ -67,12 +67,14 @@ function createMenu(nativefierVersion, onQuit, onGoBack, onGoForward, onZoomIn,
|
|||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
label: 'Back',
|
label: 'Back',
|
||||||
|
accelerator: 'CmdOrCtrl+[',
|
||||||
click: () => {
|
click: () => {
|
||||||
onGoBack();
|
onGoBack();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Forward',
|
label: 'Forward',
|
||||||
|
accelerator: 'CmdOrCtrl+]',
|
||||||
click: () => {
|
click: () => {
|
||||||
onGoForward();
|
onGoForward();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user