Skip to content

Commit

Permalink
ref: remove grayscale filter from participants thumbnails
Browse files Browse the repository at this point in the history
  • Loading branch information
paweldomas committed Feb 6, 2020
1 parent 01e36e1 commit 18536cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
11 changes: 0 additions & 11 deletions css/_videolayout_default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,6 @@
visibility: hidden;
z-index: $zindex2;
}

&.audio-only {
.videoThumbnailProblemFilter {
filter: none;
}
}
}

#localVideoWrapper {
Expand Down Expand Up @@ -573,11 +567,6 @@
filter: grayscale(.5) opacity(0.8);
}

.videoThumbnailProblemFilter {
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}

#remotePresenceMessage,
#remoteConnectionMessage {
position: absolute;
Expand Down
7 changes: 0 additions & 7 deletions modules/UI/videolayout/RemoteVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,13 +435,6 @@ export default class RemoteVideo extends SmallVideo {
// Update 'mutedWhileDisconnected' flag
this._figureOutMutedWhileDisconnected();
this.updateConnectionStatus(connectionStatus);

const isInterrupted = connectionStatus === JitsiParticipantConnectionStatus.INTERRUPTED;

// Toggle thumbnail video problem filter

this.selectVideoElement().toggleClass('videoThumbnailProblemFilter', isInterrupted);
this.$avatar().toggleClass('videoThumbnailProblemFilter', isInterrupted);
}

/**
Expand Down

0 comments on commit 18536cb

Please sign in to comment.