mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 10:16:26 +00:00
updated for separate methods for full screen depending on the platform
This commit is contained in:
@@ -263,9 +263,7 @@ const view = {
|
|||||||
{
|
{
|
||||||
label: 'Toggle Full Screen',
|
label: 'Toggle Full Screen',
|
||||||
accelerator: macOS ? 'Command+Control+F' : 'F11',
|
accelerator: macOS ? 'Command+Control+F' : 'F11',
|
||||||
click () {
|
selector: macOS ? 'toggleFullScreen:' : mainWindow.setFullScreen(!mainWindow.isFullScreen())
|
||||||
mainWindow.setFullScreen(!mainWindow.isFullScreen())
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user