mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-04 17:53:41 +02:00
Show window once ready-to-show
This commit is contained in:
parent
d0b5e0cecc
commit
5ba65fb7d2
4
main.js
4
main.js
|
@ -91,6 +91,7 @@ function createJitsiMeetWindow() {
|
|||
height: jitsiMeetWindowState.height,
|
||||
minWidth: 800,
|
||||
minHeight: 600,
|
||||
show: false,
|
||||
titleBarStyle: 'hidden',
|
||||
webPreferences: {
|
||||
nativeWindowOpen: true
|
||||
|
@ -116,6 +117,9 @@ function createJitsiMeetWindow() {
|
|||
jitsiMeetWindow.on('closed', () => {
|
||||
jitsiMeetWindow = null;
|
||||
});
|
||||
jitsiMeetWindow.once('ready-to-show', () => {
|
||||
jitsiMeetWindow.show();
|
||||
});
|
||||
}
|
||||
|
||||
// Start the application:
|
||||
|
|
Loading…
Reference in a new issue