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