Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

Leonard Kim5e4f921e1ba5
diff --git a/css/modals/video-quality/_video-quality.scss b/css/modals/video-quality/_video-quality.scss
index c442560cff..19b655ffd3 100644
--- a/css/modals/video-quality/_video-quality.scss
+++ b/css/modals/video-quality/_video-quality.scss
@@ -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;
}
diff --git a/react/features/video-quality/components/VideoQualityLabel.web.js b/react/features/video-quality/components/VideoQualityLabel.web.js
index 3af3b4322d..2e9d7d7a2e 100644
--- a/react/features/video-quality/components/VideoQualityLabel.web.js
+++ b/react/features/video-quality/components/VideoQualityLabel.web.js
@@ -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>
);
}