ref(video-quality-label): do not show quality dialog

This commit is contained in:
Leonard Kim 2017-08-29 13:28:34 -07:00 committed by yanas
parent 126f8e6d88
commit 5e4f921e1b
2 changed files with 3 additions and 9 deletions

View File

@ -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;
} }

View File

@ -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>
); );
} }