Bläddra i källkod

Fix connection indicator bars

master
Ilya Daynatovich 8 år sedan
förälder
incheckning
8d80e13e31
1 ändrade filer med 6 tillägg och 6 borttagningar
  1. 6
    6
      modules/UI/videolayout/ConnectionIndicator.js

+ 6
- 6
modules/UI/videolayout/ConnectionIndicator.js Visa fil

@@ -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) {

Laddar…
Avbryt
Spara