Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
juliandescottes committed Apr 26, 2015
2 parents d31865a + 9de77c9 commit 8ae1428
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,13 @@
if (pskl.devtools) {
pskl.devtools.init();
}

if (pskl.utils.Environment.detectNodeWebkit() && pskl.utils.UserAgent.isMac) {
var gui = require('nw.gui');
var mb = new gui.Menu({type:'menubar'});
mb.createMacBuiltin('Piskel');
gui.Window.get().menu = mb;
}
},

loadPiskel_ : function (serializedPiskel, descriptor, fps) {
Expand Down

0 comments on commit 8ae1428

Please sign in to comment.