Adds avatar on stage specific background
This commit is contained in:
parent
d250623fde
commit
c6ec96aca5
|
@ -317,6 +317,15 @@ class VideoContainer extends LargeContainer {
|
||||||
* @param {boolean} show
|
* @param {boolean} show
|
||||||
*/
|
*/
|
||||||
showAvatar (show) {
|
showAvatar (show) {
|
||||||
|
// TO FIX: Video background need to be black, so that we don't have a
|
||||||
|
// flickering effect when scrolling between videos and have the screen
|
||||||
|
// move to grey before going back to video. Avatars though can have the
|
||||||
|
// default background set.
|
||||||
|
// In order to fix this code we need to introduce video background or
|
||||||
|
// find a workaround for the video flickering.
|
||||||
|
$("#largeVideoContainer").css("background",
|
||||||
|
(show) ? interfaceConfig.DEFAULT_BACKGROUND : "#000");
|
||||||
|
|
||||||
this.$avatar.css("visibility", show ? "visible" : "hidden");
|
this.$avatar.css("visibility", show ? "visible" : "hidden");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue