ref(video-layout): resize thumbnails first when resizing video area (#3308)

pull/3326/head jitsi-meet_3254
virtuacoplenny 7 years ago committed by GitHub
parent ca62e902bc
commit 590ad90cd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      modules/UI/videolayout/VideoLayout.js

@ -854,6 +854,9 @@ const VideoLayout = {
resizeVideoArea(
forceUpdate = false,
animate = false) {
// Resize the thumbnails first.
this.resizeThumbnails(forceUpdate);
if (largeVideo) {
largeVideo.updateContainerSize();
largeVideo.resize(animate);
@ -866,9 +869,6 @@ const VideoLayout = {
if (availableWidth < 0 || availableHeight < 0) {
return;
}
// Resize the thumbnails first.
this.resizeThumbnails(forceUpdate);
},
getSmallVideo(id) {

Loading…
Cancel
Save