瀏覽代碼

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

j8
Leonard Kim 8 年之前
父節點
當前提交
5e4f921e1b

+ 0
- 1
css/modals/video-quality/_video-quality.scss 查看文件

@@ -136,7 +136,6 @@
136 136
      * Give the label padding so it has more volume and can be easily clicked.
137 137
      */
138 138
     .video-quality-label-status {
139
-        cursor: pointer;
140 139
         padding: 10px 5px;
141 140
         text-align: center;
142 141
     }

+ 3
- 8
react/features/video-quality/components/VideoQualityLabel.web.js 查看文件

@@ -2,11 +2,8 @@ import React, { Component } from 'react';
2 2
 import { connect } from 'react-redux';
3 3
 
4 4
 import { translate } from '../../base/i18n';
5
-import { Popover } from '../../base/popover';
6 5
 import { shouldRemoteVideosBeVisible } from '../../filmstrip';
7 6
 
8
-import { VideoQualityDialog } from './';
9
-
10 7
 import {
11 8
     VIDEO_QUALITY_LEVELS
12 9
 } from '../../base/conference';
@@ -151,18 +148,16 @@ export class VideoQualityLabel extends Component {
151 148
             = `${baseClasses} ${filmstrip} ${remoteVideosVisible} ${opening}`;
152 149
 
153 150
         return (
154
-            <Popover
151
+            <div
155 152
                 className = { classNames }
156
-                content = { <VideoQualityDialog /> }
157
-                id = 'videoResolutionLabel'
158
-                position = { 'left top' }>
153
+                id = 'videoResolutionLabel'>
159 154
                 <div
160 155
                     className = 'video-quality-label-status'>
161 156
                     { _audioOnly
162 157
                         ? <i className = 'icon-visibility-off' />
163 158
                         : this._mapResolutionToTranslation(_resolution) }
164 159
                 </div>
165
-            </Popover>
160
+            </div>
166 161
         );
167 162
     }
168 163
 

Loading…
取消
儲存