Browse Source

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 9 years ago
parent
commit
d49dff4ae1

+ 1
- 1
config.js View File

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

+ 0
- 2
css/chat.css View File

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

+ 2
- 1
css/main.css View File

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

+ 0
- 1
modules/UI/avatar/Avatar.js View File

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

+ 1
- 1
modules/UI/side_pannels/chat/Chat.js View File

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

+ 1
- 1
modules/UI/videolayout/ConnectionIndicator.js View File

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

Loading…
Cancel
Save