Selaa lähdekoodia

ref: remove grayscale filter from participants thumbnails

j8
paweldomas 5 vuotta sitten
vanhempi
commit
18536cb14c
2 muutettua tiedostoa jossa 0 lisäystä ja 18 poistoa
  1. 0
    11
      css/_videolayout_default.scss
  2. 0
    7
      modules/UI/videolayout/RemoteVideo.js

+ 0
- 11
css/_videolayout_default.scss Näytä tiedosto

181
         visibility: hidden;
181
         visibility: hidden;
182
         z-index: $zindex2;
182
         z-index: $zindex2;
183
     }
183
     }
184
-
185
-    &.audio-only {
186
-        .videoThumbnailProblemFilter {
187
-            filter: none;
188
-        }
189
-    }
190
 }
184
 }
191
 
185
 
192
 #localVideoWrapper {
186
 #localVideoWrapper {
573
     filter: grayscale(.5) opacity(0.8);
567
     filter: grayscale(.5) opacity(0.8);
574
 }
568
 }
575
 
569
 
576
-.videoThumbnailProblemFilter {
577
-    -webkit-filter: grayscale(100%);
578
-    filter: grayscale(100%);
579
-}
580
-
581
 #remotePresenceMessage,
570
 #remotePresenceMessage,
582
 #remoteConnectionMessage {
571
 #remoteConnectionMessage {
583
     position: absolute;
572
     position: absolute;

+ 0
- 7
modules/UI/videolayout/RemoteVideo.js Näytä tiedosto

435
         // Update 'mutedWhileDisconnected' flag
435
         // Update 'mutedWhileDisconnected' flag
436
         this._figureOutMutedWhileDisconnected();
436
         this._figureOutMutedWhileDisconnected();
437
         this.updateConnectionStatus(connectionStatus);
437
         this.updateConnectionStatus(connectionStatus);
438
-
439
-        const isInterrupted = connectionStatus === JitsiParticipantConnectionStatus.INTERRUPTED;
440
-
441
-        // Toggle thumbnail video problem filter
442
-
443
-        this.selectVideoElement().toggleClass('videoThumbnailProblemFilter', isInterrupted);
444
-        this.$avatar().toggleClass('videoThumbnailProblemFilter', isInterrupted);
445
     }
438
     }
446
 
439
 
447
     /**
440
     /**

Loading…
Peruuta
Tallenna