1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

uniform shortcut notation

This commit is contained in:
hastegan
2017-03-29 01:10:55 +02:00
parent b76729e836
commit 6daffbcafa
2 changed files with 12 additions and 15 deletions

View File

@@ -54,14 +54,14 @@ var file = {
submenu: [
{
label: 'New Note',
accelerator: 'CmdOrCtrl + N',
accelerator: 'CommandOrControl+N',
click: function () {
mainWindow.webContents.send('top:new-note')
}
},
{
label: 'Focus Note',
accelerator: 'Control + E',
accelerator: 'Control+E',
click () {
mainWindow.webContents.send('detail:focus')
}
@@ -93,7 +93,7 @@ var file = {
},
{
label: 'Delete Note',
accelerator: OSX ? 'Control + Backspace' : 'Control + Delete',
accelerator: OSX ? 'Control+Backspace' : 'Control+Delete',
click: function () {
mainWindow.webContents.send('detail:delete')
}
@@ -154,14 +154,14 @@ var view = {
submenu: [
{
label: 'Reload',
accelerator: 'CmdOrCtrl+R',
accelerator: 'CommandOrControl+R',
click: function () {
BrowserWindow.getFocusedWindow().reload()
}
},
{
label: 'Toggle Developer Tools',
accelerator: OSX ? 'Command+Alt+I' : 'Ctrl+Shift+I',
accelerator: OSX ? 'Command+Alt+I' : 'Control+Shift+I',
click: function () {
BrowserWindow.getFocusedWindow().toggleDevTools()
}
@@ -171,21 +171,21 @@ var view = {
},
{
label: 'Next Note',
accelerator: 'Control + J',
accelerator: 'Control+J',
click () {
mainWindow.webContents.send('list:next')
}
},
{
label: 'Previous Note',
accelerator: 'Control + U',
accelerator: 'Control+U',
click () {
mainWindow.webContents.send('list:prior')
}
},
{
label: 'Jump to Top',
accelerator: 'Control + G',
accelerator: 'Control+G',
click () {
mainWindow.webContents.send('list:jumpToTop')
}
@@ -195,7 +195,7 @@ var view = {
},
{
label: 'Focus Search',
accelerator: 'Control + S',
accelerator: 'Control+S',
click () {
mainWindow.webContents.send('top:focus-search')
}