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.
*/
.video-quality-label-status {
cursor: pointer;
padding: 10px 5px;
text-align: center;
}

View File

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