瀏覽代碼

Fixes parameters for VideoLayout.resizeThumbnails.

j8
damencho 8 年之前
父節點
當前提交
a5bc9625ef
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2
    3
      modules/UI/videolayout/VideoLayout.js

+ 2
- 3
modules/UI/videolayout/VideoLayout.js 查看文件

@@ -105,8 +105,7 @@ var VideoLayout = {
105 105
         localVideoThumbnail.setVideoType(VIDEO_CONTAINER_TYPE);
106 106
         // if we do not resize the thumbs here, if there is no video device
107 107
         // the local video thumb maybe one pixel
108
-        let {thumbWidth, thumbHeight}
109
-            = this.resizeThumbnails(false, true, false);
108
+        let {thumbWidth, thumbHeight} = this.resizeThumbnails(false, true);
110 109
         AudioLevels.updateAudioLevelCanvas(null, thumbWidth, thumbHeight);
111 110
 
112 111
         emitter.addListener(UIEvents.CONTACT_CLICKED, onContactClicked);
@@ -414,7 +413,7 @@ var VideoLayout = {
414 413
         console.info(resourceJid + " video is now active", videoelem);
415 414
 
416 415
         VideoLayout.resizeThumbnails(
417
-            false, false, false, function() {$(videoelem).show();});
416
+            false, false, function() {$(videoelem).show();});
418 417
 
419 418
         // Update the large video to the last added video only if there's no
420 419
         // current dominant, focused speaker or update it to

Loading…
取消
儲存