From a5bc9625ef5a6206b06275d4d557afcc17917e20 Mon Sep 17 00:00:00 2001 From: damencho Date: Wed, 14 Sep 2016 10:48:38 -0500 Subject: [PATCH] Fixes parameters for VideoLayout.resizeThumbnails. --- modules/UI/videolayout/VideoLayout.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js index 712ecae2b..d574265ab 100644 --- a/modules/UI/videolayout/VideoLayout.js +++ b/modules/UI/videolayout/VideoLayout.js @@ -105,8 +105,7 @@ var VideoLayout = { localVideoThumbnail.setVideoType(VIDEO_CONTAINER_TYPE); // if we do not resize the thumbs here, if there is no video device // the local video thumb maybe one pixel - let {thumbWidth, thumbHeight} - = this.resizeThumbnails(false, true, false); + let {thumbWidth, thumbHeight} = this.resizeThumbnails(false, true); AudioLevels.updateAudioLevelCanvas(null, thumbWidth, thumbHeight); emitter.addListener(UIEvents.CONTACT_CLICKED, onContactClicked); @@ -414,7 +413,7 @@ var VideoLayout = { console.info(resourceJid + " video is now active", videoelem); VideoLayout.resizeThumbnails( - false, false, false, function() {$(videoelem).show();}); + false, false, function() {$(videoelem).show();}); // Update the large video to the last added video only if there's no // current dominant, focused speaker or update it to