ref(video-layout): resize thumbnails first when resizing video area (#3308)
This commit is contained in:
parent
ca62e902bc
commit
590ad90cd1
|
@ -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…
Reference in New Issue