Fix 'fullscreen' and 'always on top' menu items

This commit is contained in:
Mathias Rasmussen
2016-05-31 18:11:50 +02:00
parent cf5de49deb
commit 41187ec43d
2 changed files with 4 additions and 4 deletions

View File

@@ -149,12 +149,12 @@ function getMenuTemplate () {
accelerator: process.platform === 'darwin'
? 'Ctrl+Command+F'
: 'F11',
click: () => windows.toggleFullScreen()
click: () => windows.main.toggleFullScreen()
},
{
label: 'Float on Top',
type: 'checkbox',
click: () => windows.toggleAlwaysOnTop()
click: () => windows.main.toggleAlwaysOnTop()
},
{
type: 'separator'