mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Merge branch 'master' of https://github.com/juliandescottes/piskel
This commit is contained in:
commit
8ae14281cc
@ -152,6 +152,13 @@
|
|||||||
if (pskl.devtools) {
|
if (pskl.devtools) {
|
||||||
pskl.devtools.init();
|
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) {
|
loadPiskel_ : function (serializedPiskel, descriptor, fps) {
|
||||||
|
Loading…
Reference in New Issue
Block a user