forked from nwjs/nw.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implemented
win.menu=null
to remove menubar
Previously in 0.12.x the visibility of menubar on fullscreen/kiosk mode is inconsistent on different platforms. Since 0.13.0, the menubar is always visible on fullscreen / kiok mode. Using `win.menu=null` can remove the menubar manually. This gives developers better control on the menubars. This patch implemented `win.menu=null` to completely remove the menubar on Linux and Windows, and cleared out the menubar on Mac. The patch also updated the docs about menubar visibility on fullscreen mode. Fixed nwjs#4725
- Loading branch information
Cong Liu
committed
Apr 19, 2016
1 parent
42ad258
commit ca9b11f
Showing
4 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters