Fixes issue with avatar not being centered.
This commit is contained in:
parent
bbb144f1bd
commit
d6a1192a0f
|
@ -203,7 +203,8 @@ class VideoContainer extends LargeContainer {
|
||||||
let { horizontalIndent, verticalIndent } = this.getVideoPosition(width, height, containerWidth, containerHeight);
|
let { horizontalIndent, verticalIndent } = this.getVideoPosition(width, height, containerWidth, containerHeight);
|
||||||
|
|
||||||
// update avatar position
|
// update avatar position
|
||||||
let top = this.containerHeight / 2 - avatarSize / 4 * 3;
|
let top = containerHeight / 2 - avatarSize / 4 * 3;
|
||||||
|
|
||||||
this.$avatar.css('top', top);
|
this.$avatar.css('top', top);
|
||||||
|
|
||||||
this.$wrapper.animate({
|
this.$wrapper.animate({
|
||||||
|
|
Loading…
Reference in New Issue