ref(video-quality-label): do not show quality dialog
This commit is contained in:
parent
126f8e6d88
commit
5e4f921e1b
|
@ -136,7 +136,6 @@
|
|||
* Give the label padding so it has more volume and can be easily clicked.
|
||||
*/
|
||||
.video-quality-label-status {
|
||||
cursor: pointer;
|
||||
padding: 10px 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
@ -2,11 +2,8 @@ import React, { Component } from 'react';
|
|||
import { connect } from 'react-redux';
|
||||
|
||||
import { translate } from '../../base/i18n';
|
||||
import { Popover } from '../../base/popover';
|
||||
import { shouldRemoteVideosBeVisible } from '../../filmstrip';
|
||||
|
||||
import { VideoQualityDialog } from './';
|
||||
|
||||
import {
|
||||
VIDEO_QUALITY_LEVELS
|
||||
} from '../../base/conference';
|
||||
|
@ -151,18 +148,16 @@ export class VideoQualityLabel extends Component {
|
|||
= `${baseClasses} ${filmstrip} ${remoteVideosVisible} ${opening}`;
|
||||
|
||||
return (
|
||||
<Popover
|
||||
<div
|
||||
className = { classNames }
|
||||
content = { <VideoQualityDialog /> }
|
||||
id = 'videoResolutionLabel'
|
||||
position = { 'left top' }>
|
||||
id = 'videoResolutionLabel'>
|
||||
<div
|
||||
className = 'video-quality-label-status'>
|
||||
{ _audioOnly
|
||||
? <i className = 'icon-visibility-off' />
|
||||
: this._mapResolutionToTranslation(_resolution) }
|
||||
</div>
|
||||
</Popover>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue