ソースを参照

Hides video wrapper when avtar is shown, and make it visible when we hide the avtar.

master
damencho 9年前
コミット
3cd549a758
1個のファイルの変更3行の追加0行の削除
  1. 3
    0
      modules/UI/videolayout/LargeVideo.js

+ 3
- 0
modules/UI/videolayout/LargeVideo.js ファイルの表示

@@ -239,6 +239,9 @@ class VideoContainer extends LargeContainer {
239 239
     }
240 240
 
241 241
     showAvatar (show) {
242
+        // if we are showing the avatar, this means there is no video on large
243
+        // so let's hide its video wrapper
244
+        show ? this.hide() : this.show();
242 245
         this.$avatar.css("visibility", show ? "visible" : "hidden");
243 246
     }
244 247
 

読み込み中…
キャンセル
保存