Pārlūkot izejas kodu

Fixes parameters for VideoLayout.resizeThumbnails.

j8
damencho 8 gadus atpakaļ
vecāks
revīzija
a5bc9625ef
1 mainītis faili ar 2 papildinājumiem un 3 dzēšanām
  1. 2
    3
      modules/UI/videolayout/VideoLayout.js

+ 2
- 3
modules/UI/videolayout/VideoLayout.js Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt