Merge pull request #54 from Pierce01/master
CSS Window opens when ready
This commit is contained in:
commit
981de1b9e2
|
@ -34,6 +34,10 @@ class CSSEditor extends Module {
|
||||||
this.editor = null;
|
this.editor = null;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.editor.once('ready-to-show', () => {
|
||||||
|
this.editor.show()
|
||||||
|
});
|
||||||
|
|
||||||
this.editor.webContents.on('did-finish-load', () => {
|
this.editor.webContents.on('did-finish-load', () => {
|
||||||
o.reply(true);
|
o.reply(true);
|
||||||
});
|
});
|
||||||
|
@ -52,6 +56,7 @@ class CSSEditor extends Module {
|
||||||
return {
|
return {
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 600,
|
height: 600,
|
||||||
|
show: false,
|
||||||
frame: false
|
frame: false
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue