Fixes the issue with ether pad and the broken thumbnail selection.
This commit is contained in:
parent
83dc70eae5
commit
d5a2281a01
|
@ -175,7 +175,7 @@ var VideoLayout = (function (my) {
|
|||
? getDesktopVideoPosition
|
||||
: getCameraVideoPosition;
|
||||
|
||||
if (largeVideoState.isVisible) {
|
||||
|
||||
// Only if the large video is currently visible.
|
||||
// Disable previous dominant speaker video.
|
||||
if (largeVideoState.oldJid) {
|
||||
|
@ -215,14 +215,13 @@ var VideoLayout = (function (my) {
|
|||
|
||||
}
|
||||
|
||||
largeVideoState.updateInProgress = false;
|
||||
|
||||
if (fade) {
|
||||
if (fade && largeVideoState.isVisible) {
|
||||
// using "this" should be ok because we're called
|
||||
// from within the fadeOut event.
|
||||
$(this).fadeIn(300);
|
||||
}
|
||||
}
|
||||
|
||||
largeVideoState.updateInProgress = false;
|
||||
};
|
||||
|
||||
if (fade) {
|
||||
|
|
Loading…
Reference in New Issue