소스 검색

Comply w/ coding style

j8
Lyubo Marinov 8 년 전
부모
커밋
b0d63dae16
2개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제
  1. 1
    3
      react/features/filmstrip/components/Thumbnail.js
  2. 2
    1
      react/features/filmstrip/components/styles.js

+ 1
- 3
react/features/filmstrip/components/Thumbnail.js 파일 보기

@@ -69,8 +69,6 @@ class Thumbnail extends Component {
69 69
             };
70 70
         }
71 71
 
72
-        const thumbToolbarStyle = styles.thumbnailIndicatorContainer;
73
-
74 72
         // We don't render audio in any of the following:
75 73
         // 1. The audio (source) is muted. There's no practical reason (that we
76 74
         //    know of, anyway) why we'd want to render it given that it's
@@ -107,7 +105,7 @@ class Thumbnail extends Component {
107 105
                 { participant.dominantSpeaker
108 106
                     && <DominantSpeakerIndicator /> }
109 107
 
110
-                <Container style = { thumbToolbarStyle }>
108
+                <Container style = { styles.thumbnailIndicatorContainer }>
111 109
                     { audioMuted
112 110
                         && <AudioMutedIndicator /> }
113 111
 

+ 2
- 1
react/features/filmstrip/components/styles.js 파일 보기

@@ -74,7 +74,8 @@ export const styles = {
74 74
     },
75 75
 
76 76
     /**
77
-     * Video thumbnail style.
77
+     * The style of a participant's Thumbnail which renders either the video or
78
+     * the avatar of the associated participant.
78 79
      */
79 80
     thumbnail: {
80 81
         alignItems: 'stretch',

Loading…
취소
저장