fix(avatars): re-render avatar on any resize

pull/4538/head jitsi-meet_3930
Leonard Kim 5 years ago committed by virtuacoplenny
parent 8800cb4580
commit 7af081ea99
  1. 9
      modules/UI/videolayout/VideoLayout.js

@ -426,6 +426,10 @@ const VideoLayout = {
APP.store.dispatch(setMaxReceiverVideoQuality(qualityLevel));
}
localVideoThumbnail && localVideoThumbnail.rerender();
Object.values(remoteVideos).forEach(
remoteVideoThumbnail => remoteVideoThumbnail.rerender());
if (onComplete && typeof onComplete === 'function') {
onComplete();
}
@ -947,11 +951,6 @@ const VideoLayout = {
refreshLayout() {
localVideoThumbnail && localVideoThumbnail.updateDOMLocation();
VideoLayout.resizeVideoArea();
localVideoThumbnail && localVideoThumbnail.rerender();
Object.values(remoteVideos).forEach(
remoteVideo => remoteVideo.rerender()
);
},
/**

Loading…
Cancel
Save