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

updated for separate methods for full screen depending on the platform

This commit is contained in:
William Grant
2018-03-30 11:05:20 +02:00
parent 11f8cfe0e6
commit b46b958105

View File

@@ -263,9 +263,7 @@ const view = {
{
label: 'Toggle Full Screen',
accelerator: macOS ? 'Command+Control+F' : 'F11',
click () {
mainWindow.setFullScreen(!mainWindow.isFullScreen())
}
selector: macOS ? 'toggleFullScreen:' : mainWindow.setFullScreen(!mainWindow.isFullScreen())
}
]
}