|
@@ -429,25 +429,26 @@ var VideoLayout = {
|
429
|
429
|
/**
|
430
|
430
|
* Resizes the large video container.
|
431
|
431
|
*/
|
432
|
|
- resizeLargeVideoContainer (isSideBarVisible) {
|
|
432
|
+ resizeLargeVideoContainer (isSideBarVisible, forceUpdate) {
|
433
|
433
|
let animate = false;
|
434
|
434
|
if (largeVideo) {
|
435
|
435
|
largeVideo.updateContainerSize(isSideBarVisible);
|
436
|
436
|
largeVideo.resize(animate);
|
437
|
437
|
}
|
438
|
438
|
this.resizeVideoSpace(animate, isSideBarVisible);
|
439
|
|
- this.resizeThumbnails(false);
|
|
439
|
+ this.resizeThumbnails(false, forceUpdate);
|
440
|
440
|
},
|
441
|
441
|
|
442
|
442
|
/**
|
443
|
443
|
* Resizes thumbnails.
|
444
|
444
|
*/
|
445
|
|
- resizeThumbnails (animate = false, show = false) {
|
|
445
|
+ resizeThumbnails (animate = false, forceUpdate = false) {
|
446
|
446
|
let {thumbWidth, thumbHeight} = this.calculateThumbnailSize();
|
447
|
447
|
|
448
|
448
|
$('.userAvatar').css('left', (thumbWidth - thumbHeight) / 2);
|
449
|
449
|
|
450
|
|
- BottomToolbar.resizeThumbnails(thumbWidth, thumbHeight, animate, show)
|
|
450
|
+ BottomToolbar.resizeThumbnails(thumbWidth, thumbHeight,
|
|
451
|
+ animate, forceUpdate)
|
451
|
452
|
.then(function () {
|
452
|
453
|
BottomToolbar.resizeToolbar(thumbWidth, thumbHeight);
|
453
|
454
|
AudioLevels.updateCanvasSize(thumbWidth, thumbHeight);
|