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