mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-04 17:53:41 +02:00
ui: set minimum window size to 800x600
A smaller window makes it for a bad experience.
This commit is contained in:
parent
566227acd4
commit
02229f2c2a
14
main.js
14
main.js
|
@ -23,6 +23,17 @@ const indexURL = url.format({
|
||||||
*/
|
*/
|
||||||
let jitsiMeetWindow = null;
|
let jitsiMeetWindow = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Options used when creating the main Jitsi Meet window.
|
||||||
|
*/
|
||||||
|
const jitsiMeetWindowOptions = {
|
||||||
|
width: 800,
|
||||||
|
height: 600,
|
||||||
|
minWidth: 800,
|
||||||
|
minHeight: 600,
|
||||||
|
titleBarStyle: 'hidden'
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the APP object listeners.
|
* Sets the APP object listeners.
|
||||||
*/
|
*/
|
||||||
|
@ -45,8 +56,7 @@ function setAPPListeners () {
|
||||||
* Opens new window with index.html(Jitsi Meet is loaded in iframe there).
|
* Opens new window with index.html(Jitsi Meet is loaded in iframe there).
|
||||||
*/
|
*/
|
||||||
function createJitsiMeetWindow () {
|
function createJitsiMeetWindow () {
|
||||||
jitsiMeetWindow =
|
jitsiMeetWindow = new BrowserWindow(jitsiMeetWindowOptions);
|
||||||
new BrowserWindow({width: 800, height: 600, titleBarStyle: 'hidden'});
|
|
||||||
jitsiMeetWindow.loadURL(indexURL);
|
jitsiMeetWindow.loadURL(indexURL);
|
||||||
|
|
||||||
jitsiMeetWindow.on("closed", () => {
|
jitsiMeetWindow.on("closed", () => {
|
||||||
|
|
Loading…
Reference in a new issue