Procházet zdrojové kódy

Fixes a config parameter name. Removes a console.log, which got there by mistake. Fixes some css properties of the chat unread messages.

master
yanas před 9 roky
rodič
revize
d49dff4ae1

+ 1
- 1
config.js Zobrazit soubor

@@ -70,5 +70,5 @@ var config = {
70 70
     'During that time service will not be available. ' +
71 71
     'Apologise for inconvenience.',*/
72 72
     disableThirdPartyRequests: false,
73
-    minHDResolution: 540
73
+    minHDHeight: 540
74 74
 };

+ 0
- 2
css/chat.css Zobrazit soubor

@@ -95,8 +95,6 @@
95 95
 #unreadMessages {
96 96
     font-size: 8px;
97 97
     position: absolute;
98
-    left: 46%;
99
-    top: 27%
100 98
 }
101 99
 
102 100
 #bottomUnreadMessages {

+ 2
- 1
css/main.css Zobrazit soubor

@@ -47,7 +47,7 @@ html, body{
47 47
     position: relative;
48 48
     color: #FFFFFF;
49 49
     top:0px;
50
-    padding-top: 9px;
50
+    padding-top: 10px;
51 51
     width: 38px;
52 52
     height: 28px;
53 53
     cursor: pointer;
@@ -55,6 +55,7 @@ html, body{
55 55
     text-shadow: 0 1px 0 rgba(255,255,255,.3), 0 -1px 0 rgba(0,0,0,.6);
56 56
     z-index: 1;
57 57
     font-size: 1.22em !important;
58
+    vertical-align: middle;
58 59
 }
59 60
 
60 61
 .toolbar_span>span {

+ 0
- 1
modules/UI/avatar/Avatar.js Zobrazit soubor

@@ -44,7 +44,6 @@ export default {
44 44
         if (!avatarId) {
45 45
             console.warn(
46 46
                 `No avatar stored yet for ${userId} - using ID as avatar ID`);
47
-            console.log("USER ID ", userId);
48 47
             avatarId = userId;
49 48
         }
50 49
         avatarId = MD5.hexdigest(avatarId.trim().toLowerCase());

+ 1
- 1
modules/UI/side_pannels/chat/Chat.js Zobrazit soubor

@@ -35,7 +35,7 @@ function setVisualNotification(show) {
35 35
         var leftIndent = (UIUtil.getTextWidth(chatButtonElement) -
36 36
             UIUtil.getTextWidth(unreadMsgElement)) / 2;
37 37
         var topIndent = (UIUtil.getTextHeight(chatButtonElement) -
38
-            UIUtil.getTextHeight(unreadMsgElement)) / 2 - 3;
38
+            UIUtil.getTextHeight(unreadMsgElement)) / 2 - 5;
39 39
 
40 40
         unreadMsgElement.setAttribute(
41 41
             'style',

+ 1
- 1
modules/UI/videolayout/ConnectionIndicator.js Zobrazit soubor

@@ -376,7 +376,7 @@ ConnectionIndicator.prototype.updateResolutionIndicator = function () {
376 376
             let resolutions = this.resolution || {};
377 377
             Object.keys(resolutions).map(function (ssrc) {
378 378
                     let {width, height} = resolutions[ssrc];
379
-                    if (height >= config.minHDResolution)
379
+                    if (height >= config.minHDHeight)
380 380
                         showResolutionLabel = true;
381 381
                 });
382 382
         }

Načítá se…
Zrušit
Uložit