fix(video-quality): change click handler location on label
This will prevent the quality dialog from closing when changing desired quality level.
This commit is contained in:
parent
995a25ee15
commit
830ec3d097
|
@ -163,14 +163,15 @@ export class VideoQualityLabel extends Component {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className = { classNames }
|
className = { classNames }
|
||||||
id = 'videoResolutionLabel'
|
id = 'videoResolutionLabel'>
|
||||||
onClick = { this._onDialogToggle }>
|
|
||||||
<AKInlineDialog
|
<AKInlineDialog
|
||||||
content = { <VideoQualityDialog /> }
|
content = { <VideoQualityDialog /> }
|
||||||
isOpen = { this.state.showVideoQualityDialog }
|
isOpen = { this.state.showVideoQualityDialog }
|
||||||
onClose = { this._onDialogClose }
|
onClose = { this._onDialogClose }
|
||||||
position = { 'left top' }>
|
position = { 'left top' }>
|
||||||
<div className = 'video-quality-label-status'>
|
<div
|
||||||
|
className = 'video-quality-label-status'
|
||||||
|
onClick = { this._onDialogToggle }>
|
||||||
{ _audioOnly
|
{ _audioOnly
|
||||||
? <i className = 'icon-visibility-off' />
|
? <i className = 'icon-visibility-off' />
|
||||||
: this._mapResolutionToTranslation(_resolution) }
|
: this._mapResolutionToTranslation(_resolution) }
|
||||||
|
|
Loading…
Reference in New Issue