Merge pull request #54 from Pierce01/master

CSS Window opens when ready
This commit is contained in:
Pierce 2018-01-27 14:20:33 -05:00 committed by GitHub
commit 981de1b9e2
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
};
}