ref: remove grayscale filter from participants thumbnails

This commit is contained in:
paweldomas 2020-02-05 17:01:50 -06:00 committed by Paweł Domas
parent 01e36e1c56
commit 18536cb14c
2 changed files with 0 additions and 18 deletions

View File

@ -181,12 +181,6 @@
visibility: hidden; visibility: hidden;
z-index: $zindex2; z-index: $zindex2;
} }
&.audio-only {
.videoThumbnailProblemFilter {
filter: none;
}
}
} }
#localVideoWrapper { #localVideoWrapper {
@ -573,11 +567,6 @@
filter: grayscale(.5) opacity(0.8); filter: grayscale(.5) opacity(0.8);
} }
.videoThumbnailProblemFilter {
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}
#remotePresenceMessage, #remotePresenceMessage,
#remoteConnectionMessage { #remoteConnectionMessage {
position: absolute; position: absolute;

View File

@ -435,13 +435,6 @@ export default class RemoteVideo extends SmallVideo {
// Update 'mutedWhileDisconnected' flag // Update 'mutedWhileDisconnected' flag
this._figureOutMutedWhileDisconnected(); this._figureOutMutedWhileDisconnected();
this.updateConnectionStatus(connectionStatus); this.updateConnectionStatus(connectionStatus);
const isInterrupted = connectionStatus === JitsiParticipantConnectionStatus.INTERRUPTED;
// Toggle thumbnail video problem filter
this.selectVideoElement().toggleClass('videoThumbnailProblemFilter', isInterrupted);
this.$avatar().toggleClass('videoThumbnailProblemFilter', isInterrupted);
} }
/** /**