mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 10:46:32 +00:00
Hotkey for toggle editor fullscreen
This commit is contained in:
@@ -267,6 +267,19 @@ const view = {
|
|||||||
mainWindow.setFullScreen(!mainWindow.isFullScreen())
|
mainWindow.setFullScreen(!mainWindow.isFullScreen())
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: 'separator'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: 'Toggle Side Bar',
|
||||||
|
accelerator: 'CommandOrControl+B',
|
||||||
|
click () {
|
||||||
|
mainWindow.webContents.send('editor:fullscreen')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'separator'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
role: 'zoomin',
|
role: 'zoomin',
|
||||||
accelerator: macOS ? 'CommandOrControl+Plus' : 'Control+='
|
accelerator: macOS ? 'CommandOrControl+Plus' : 'Control+='
|
||||||
|
|||||||
Reference in New Issue
Block a user