mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
🎨 function -> =>
This commit is contained in:
@@ -96,7 +96,7 @@ const roles = {
|
||||
togglefullscreen: {
|
||||
label: 'Toggle Full Screen',
|
||||
accelerator: process.platform === 'darwin' ? 'Control+Command+F' : 'F11',
|
||||
windowMethod: function (window) {
|
||||
windowMethod: (window) => {
|
||||
window.setFullScreen(!window.isFullScreen())
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user