Hides video wrapper when avtar is shown, and make it visible when we hide the avtar.

pull/465/head
damencho 9 years ago
parent 765f07109a
commit 3cd549a758
  1. 3
      modules/UI/videolayout/LargeVideo.js

@ -239,6 +239,9 @@ class VideoContainer extends LargeContainer {
}
showAvatar (show) {
// if we are showing the avatar, this means there is no video on large
// so let's hide its video wrapper
show ? this.hide() : this.show();
this.$avatar.css("visibility", show ? "visible" : "hidden");
}

Loading…
Cancel
Save