浏览代码

Fix connection indicator bars

master
Ilya Daynatovich 8 年前
父节点
当前提交
8d80e13e31
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6
    6
      modules/UI/videolayout/ConnectionIndicator.js

+ 6
- 6
modules/UI/videolayout/ConnectionIndicator.js 查看文件

@@ -34,12 +34,12 @@ function ConnectionIndicator(videoContainer, videoId) {
34 34
  *         0: string}}
35 35
  */
36 36
 ConnectionIndicator.connectionQualityValues = {
37
-    98: "18px", //full
38
-    81: "15px",//4 bars
39
-    64: "11px",//3 bars
40
-    47: "7px",//2 bars
41
-    30: "3px",//1 bar
42
-    0: "0px"//empty
37
+    98: "100%", //full
38
+    81: "80%",//4 bars
39
+    64: "55%",//3 bars
40
+    47: "40%",//2 bars
41
+    30: "20%",//1 bar
42
+    0: "0"//empty
43 43
 };
44 44
 
45 45
 ConnectionIndicator.getIP = function(value) {

正在加载...
取消
保存