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

Merge pull request #2178 from enyaxu/feature/2165

Hotkey for toggle editor fullscreen
This commit is contained in:
Junyoung Choi (Sai)
2018-07-17 14:49:03 +09:00
committed by GitHub
2 changed files with 16 additions and 1 deletions

View File

@@ -276,6 +276,19 @@ const view = {
mainWindow.setFullScreen(!mainWindow.isFullScreen())
}
},
{
type: 'separator'
},
{
label: 'Toggle Side Bar',
accelerator: 'CommandOrControl+B',
click () {
mainWindow.webContents.send('editor:fullscreen')
}
},
{
type: 'separator'
},
{
role: 'zoomin',
accelerator: macOS ? 'CommandOrControl+Plus' : 'Control+='