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

Moved 'Toggle Fullscreen' to the View label used non-OS specific fullscreen

This commit is contained in:
William Grant
2018-03-27 20:52:58 +02:00
parent f0144233f9
commit ee78e113de

View File

@@ -230,6 +230,13 @@ const view = {
BrowserWindow.getFocusedWindow().toggleDevTools()
}
},
{
label: 'Toggle Full Screen',
accelerator: macOS ? 'Command+Control+F' : 'F11',
click () {
mainWindow.setFullScreen(!mainWindow.isFullScreen())
}
},
{
type: 'separator'
},
@@ -285,11 +292,6 @@ const window = {
accelerator: 'Command+M',
selector: 'performMiniaturize:'
},
{
label: 'Toggle Full Screen',
accelerator: process.platform === 'darwin' ? 'Command+Control+F' : 'F11',
selector: 'toggleFullScreen:'
},
{
label: 'Close',
accelerator: 'Command+W',