From 8d80e13e31fee5cf8db75ba83db006be95d60f0d Mon Sep 17 00:00:00 2001 From: Ilya Daynatovich Date: Wed, 26 Oct 2016 18:33:49 +0300 Subject: [PATCH] Fix connection indicator bars --- modules/UI/videolayout/ConnectionIndicator.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/UI/videolayout/ConnectionIndicator.js b/modules/UI/videolayout/ConnectionIndicator.js index f4d670b8f..7ecd83ec9 100644 --- a/modules/UI/videolayout/ConnectionIndicator.js +++ b/modules/UI/videolayout/ConnectionIndicator.js @@ -34,12 +34,12 @@ function ConnectionIndicator(videoContainer, videoId) { * 0: string}} */ ConnectionIndicator.connectionQualityValues = { - 98: "18px", //full - 81: "15px",//4 bars - 64: "11px",//3 bars - 47: "7px",//2 bars - 30: "3px",//1 bar - 0: "0px"//empty + 98: "100%", //full + 81: "80%",//4 bars + 64: "55%",//3 bars + 47: "40%",//2 bars + 30: "20%",//1 bar + 0: "0"//empty }; ConnectionIndicator.getIP = function(value) {