瀏覽代碼

Renames videocontainer overlay to hoverOverlay.

master
damencho 8 年之前
父節點
當前提交
e3edef2999
共有 4 個檔案被更改,包括 4 行新增4 行删除
  1. 1
    1
      css/_videolayout_default.scss
  2. 1
    1
      index.html
  3. 1
    1
      modules/UI/videolayout/RemoteVideo.js
  4. 1
    1
      modules/UI/videolayout/SmallVideo.js

+ 1
- 1
css/_videolayout_default.scss 查看文件

@@ -81,7 +81,7 @@
81 81
     height: $thumbnailIndicatorSize + $toolbarPadding;
82 82
 }
83 83
 
84
-.videocontainer__overlay {
84
+.videocontainer__hoverOverlay {
85 85
     position: relative;
86 86
     width: 100%;
87 87
     height: 100%;

+ 1
- 1
index.html 查看文件

@@ -255,7 +255,7 @@
255 255
                     <audio id="localAudio" autoplay muted></audio>
256 256
                     <div class="videocontainer__toolbar"></div>
257 257
                     <div class="videocontainer__toptoolbar"></div>
258
-                    <div class="videocontainer__overlay"></div>
258
+                    <div class="videocontainer__hoverOverlay"></div>
259 259
                 </span>
260 260
                 <audio id="userJoined" src="sounds/joined.wav" preload="auto"></audio>
261 261
                 <audio id="userLeft" src="sounds/left.wav" preload="auto"></audio>

+ 1
- 1
modules/UI/videolayout/RemoteVideo.js 查看文件

@@ -577,7 +577,7 @@ RemoteVideo.createContainer = function (spanId) {
577 577
     container.appendChild(toolbar);
578 578
 
579 579
     let overlay = document.createElement('div');
580
-    overlay.className = "videocontainer__overlay";
580
+    overlay.className = "videocontainer__hoverOverlay";
581 581
     container.appendChild(overlay);
582 582
 
583 583
     var remotes = document.getElementById('remoteVideos');

+ 1
- 1
modules/UI/videolayout/SmallVideo.js 查看文件

@@ -512,7 +512,7 @@ SmallVideo.prototype.updateView = function () {
512 512
     // show hide overlay when there is a video or avatar under
513 513
     // the display name
514 514
     UIUtil.setVisibility(   $('#' + this.videoSpanId
515
-                                + ' .videocontainer__overlay'),
515
+                                + ' .videocontainer__hoverOverlay'),
516 516
                             (displayMode === DISPLAY_AVATAR_WITH_NAME
517 517
                                 || displayMode === DISPLAY_VIDEO_WITH_NAME));
518 518
 };

Loading…
取消
儲存