File tree 2 files changed +5
-9
lines changed
2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ module.exports = function ( app, mainWindow ) {
18
18
label : 'Edit' ,
19
19
submenu : editMenu ,
20
20
} ,
21
+ {
22
+ label : 'View' ,
23
+ submenu : viewMenu ,
24
+ } ,
21
25
{
22
26
label : 'Window' ,
23
27
role : 'window' ,
@@ -30,13 +34,5 @@ module.exports = function ( app, mainWindow ) {
30
34
} ,
31
35
] ;
32
36
33
- if ( platform . isOSX ( ) ) {
34
- // OS X needs a view menu for 'enter full screen' - insert just after the edit menu
35
- menu . splice ( 2 , 0 , {
36
- label : 'View' ,
37
- submenu : viewMenu ,
38
- } ) ;
39
- }
40
-
41
37
return menu ;
42
38
} ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const menuItems = [];
14
14
menuItems . push (
15
15
{
16
16
label : 'Toggle Full Screen' ,
17
- accelerator : platform . isOSX ( ) ? 'Command+Ctrl+F' : undefined ,
17
+ accelerator : platform . isOSX ( ) ? 'Command+Ctrl+F' : 'Ctrl+Alt+F' ,
18
18
fullscreen : true ,
19
19
click : function ( ) {
20
20
const focusedWindow = BrowserWindow . getFocusedWindow ( ) ;
You can’t perform that action at this time.
0 commit comments