Pārlūkot izejas kodu

fix conflicts after rebase

master
Ilya Daynatovich 8 gadus atpakaļ
vecāks
revīzija
323684c5fe

+ 1
- 0
css/_videolayout_default.scss Parādīt failu

@@ -280,6 +280,7 @@
280 280
     font-size: 8pt;
281 281
     text-align: center;
282 282
     line-height: $thumbnailToolbarHeight;
283
+    display: none;
283 284
     padding: 0;
284 285
     margin-right: 5px;
285 286
     float: left;

+ 1
- 1
modules/UI/util/UIUtil.js Parādīt failu

@@ -406,7 +406,7 @@ const TOOLTIP_POSITIONS = {
406 406
     getVideoThumbnailIndicatorSpan(opts = {}) {
407 407
         let indicatorId = opts.indicatorId;
408 408
         let videoSpanId = opts.videoSpanId;
409
-        let indicators = $(`#${videoSpanId} #${indicatorId}]`);
409
+        let indicators = $(`#${videoSpanId} [id="${indicatorId}"]`);
410 410
         let indicatorSpan;
411 411
 
412 412
         if (indicators.length <= 0) {

+ 1
- 2
modules/UI/videolayout/ConnectionIndicator.js Parādīt failu

@@ -267,13 +267,12 @@ ConnectionIndicator.prototype.create = function () {
267 267
         videoSpanId: this.videoContainer.videoSpanId,
268 268
         indicatorId
269 269
     });
270
-    element.classList.add('hide');
271 270
     this.connectionIndicatorContainer = element;
272 271
 
273 272
     let popoverContent = (
274 273
         `<div class="connection-info" data-i18n="${indicatorId}.na"></div>`
275 274
     );
276
-    this.popover = new JitsiPopover(element, {
275
+    this.popover = new JitsiPopover($(element), {
277 276
         content: popoverContent,
278 277
         skin: "black",
279 278
         onBeforePosition: el => APP.translation.translateElement(el)

+ 5
- 5
modules/UI/videolayout/SmallVideo.js Parādīt failu

@@ -1,4 +1,4 @@
1
-/* global $, APP, JitsiMeetJS, interfaceConfig */
1
+/* global $, JitsiMeetJS, interfaceConfig */
2 2
 import Avatar from "../avatar/Avatar";
3 3
 import UIUtil from "../util/UIUtil";
4 4
 import UIEvents from "../../../service/UI/UIEvents";
@@ -506,9 +506,9 @@ SmallVideo.prototype.showDominantSpeakerIndicator = function (show) {
506 506
     });
507 507
 
508 508
     if (show) {
509
-        indicatorSpan.classList.add('hide');
509
+        indicatorSpan.classList.add('show');
510 510
     } else {
511
-        indicatorSpan.classList.remove('hide')
511
+        indicatorSpan.classList.remove('show');
512 512
     }
513 513
 };
514 514
 
@@ -532,9 +532,9 @@ SmallVideo.prototype.showRaisedHandIndicator = function (show) {
532 532
     });
533 533
 
534 534
     if (show) {
535
-        indicatorSpan.classList.add('hide');
535
+        indicatorSpan.classList.add('show');
536 536
     } else {
537
-        indicatorSpan.classList.remove('hide')
537
+        indicatorSpan.classList.remove('show');
538 538
     }
539 539
 };
540 540
 

Notiek ielāde…
Atcelt
Saglabāt