Skip to content

Commit

Permalink
Show window once ready-to-show
Browse files Browse the repository at this point in the history
  • Loading branch information
akshitkrnagpal authored and saghul committed Jul 4, 2018
1 parent d0b5e0c commit 5ba65fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ function createJitsiMeetWindow() {
height: jitsiMeetWindowState.height,
minWidth: 800,
minHeight: 600,
show: false,
titleBarStyle: 'hidden',
webPreferences: {
nativeWindowOpen: true
Expand All @@ -116,6 +117,9 @@ function createJitsiMeetWindow() {
jitsiMeetWindow.on('closed', () => {
jitsiMeetWindow = null;
});
jitsiMeetWindow.once('ready-to-show', () => {
jitsiMeetWindow.show();
});
}

// Start the application:
Expand Down

0 comments on commit 5ba65fb

Please sign in to comment.