projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2536e62
)
Use togglefullscreen role
author
Kevin Sawicki
<kevinsawicki@gmail.com>
Tue, 21 Jun 2016 16:34:41 +0000
(09:34 -0700)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Tue, 21 Jun 2016 16:34:41 +0000
(09:34 -0700)
default_app/main.js
patch
|
blob
|
history
diff --git
a/default_app/main.js
b/default_app/main.js
index
4c3c658
..
9df5f39
100644
(file)
--- a/
default_app/main.js
+++ b/
default_app/main.js
@@
-107,12
+107,8
@@
app.once('ready', () => {
},
{
label: 'Toggle Full Screen',
- accelerator: (() => {
- return (process.platform === 'darwin') ? 'Ctrl+Command+F' : 'F11'
- })(),
- click (item, focusedWindow) {
- if (focusedWindow) focusedWindow.setFullScreen(!focusedWindow.isFullScreen())
- }
+ role: 'togglefullscreen',
+ accelerator: process.platform === 'darwin' ? 'Ctrl+Command+F' : 'F11'
},
{
label: 'Toggle Developer Tools',