浏览代码

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

+ 2
- 1
react/features/filmstrip/components/styles.js 查看文件

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
     thumbnail: {
80
     thumbnail: {
80
         alignItems: 'stretch',
81
         alignItems: 'stretch',

正在加载...
取消
保存