Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
ref(video-layout): remove instance variable for gating show/hide
Leonard Kimdafcde50607d
diff --git a/modules/UI/videolayout/VideoContainer.js b/modules/UI/videolayout/VideoContainer.jsindex 87aef816da..b5e3b189b8 100644--- a/modules/UI/videolayout/VideoContainer.js+++ b/modules/UI/videolayout/VideoContainer.js@@ -216,8 +216,6 @@ export class VideoContainer extends LargeContainer {this.emitter = emitter;this.resizeContainer = resizeContainer;- this.isVisible = false;-/*** Whether the background should fit the height of the container* (portrait) or fit the width of the container (landscape).@@ -603,17 +601,11 @@ export class VideoContainer extends LargeContainer {* TODO: refactor this since Temasys is no longer supported.*/show() {- // its already visible- if (this.isVisible) {- return Promise.resolve();- }-return new Promise(resolve => {this.$wrapperParent.css('visibility', 'visible').fadeTo(FADE_DURATION_MS,1,() => {- this.isVisible = true;resolve();});@@ -628,15 +620,9 @@ export class VideoContainer extends LargeContainer {// hide its avatarthis.showAvatar(false);- // its already hidden- if (!this.isVisible) {- return Promise.resolve();- }-return new Promise(resolve => {this.$wrapperParent.fadeTo(FADE_DURATION_MS, 0, () => {this.$wrapperParent.css('visibility', 'hidden');- this.isVisible = false;resolve();});});