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:
@@ -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())
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user