Bladeren bron

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

This will prevent the quality dialog from closing when changing
desired quality level.
master
Leonard Kim 8 jaren geleden
bovenliggende
commit
830ec3d097
1 gewijzigde bestanden met toevoegingen van 4 en 3 verwijderingen
  1. 4
    3
      react/features/video-quality/components/VideoQualityLabel.web.js

+ 4
- 3
react/features/video-quality/components/VideoQualityLabel.web.js Bestand weergeven

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

Laden…
Annuleren
Opslaan