소스 검색

fixbug webm

zhouenguang 3 년 전
부모
커밋
12fe8f989e
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      webM/public/static/js/main_2020_show.js

+ 4 - 3
webM/public/static/js/main_2020_show.js

@@ -4862,6 +4862,7 @@ window.Modernizr = function(n, e, t) {
 			} */
 			 
             n.prototype.stopTour = function(isAutoStop) {//停止导览        isAutoStop 希望仅在飞完结束自动停止时的stopTour不停止tourSound, 这样才能完整播放tourSound.  不过似乎会在倒数第二个片段点击按钮停止导览时也视作自动结束的(执行this.interrupt() )。
+                SoundManager.pause('tour'),
                 this.isInterrupted() || this.transitionStage === y.Moving && this.checkAndHandleWalkingtourInterruption(this.nextWarpStyle) || (this.tourIsPlaying && (this.player.zoomEnabled = this.wasZoomEnabled),
                 this.tourIsPlaying = !1, 
                 this.interrupt(),
@@ -8860,9 +8861,9 @@ window.Modernizr = function(n, e, t) {
             }, p.tourInteraction.allowNextClick))
         }
         function a() {
-            C.tourInProgress && (C.stopTour(),
-            C.endTourProgress(),
-            E.classList.remove("playing"))
+            // C.tourInProgress && (C.stopTour(),
+            // C.endTourProgress(),
+            // E.classList.remove("playing"))
         }
         function s() {
             T.is(":visible") ? r() : o()