浏览代码

fix(video-quality): change click handler location on label

This will prevent the quality dialog from closing when changing
desired quality level.
j8
Leonard Kim 8 年前
父节点
当前提交
830ec3d097
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4
    3
      react/features/video-quality/components/VideoQualityLabel.web.js

+ 4
- 3
react/features/video-quality/components/VideoQualityLabel.web.js 查看文件

@@ -163,14 +163,15 @@ export class VideoQualityLabel extends Component {
163 163
         return (
164 164
             <div
165 165
                 className = { classNames }
166
-                id = 'videoResolutionLabel'
167
-                onClick = { this._onDialogToggle }>
166
+                id = 'videoResolutionLabel'>
168 167
                 <AKInlineDialog
169 168
                     content = { <VideoQualityDialog /> }
170 169
                     isOpen = { this.state.showVideoQualityDialog }
171 170
                     onClose = { this._onDialogClose }
172 171
                     position = { 'left top' }>
173
-                    <div className = 'video-quality-label-status'>
172
+                    <div
173
+                        className = 'video-quality-label-status'
174
+                        onClick = { this._onDialogToggle }>
174 175
                         { _audioOnly
175 176
                             ? <i className = 'icon-visibility-off' />
176 177
                             : this._mapResolutionToTranslation(_resolution) }

正在加载...
取消
保存