CSS Window opens when ready

This commit is contained in:
Pierce 2018-01-27 13:57:44 -05:00 committed by GitHub
parent 65cf800283
commit bac4ce5323
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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
};
}