|
@@ -7270,7 +7270,8 @@ window.Modernizr = function(n, e, t) {
|
|
|
})
|
|
|
}),
|
|
|
window.startAndPlay = function(e) {
|
|
|
- // l(e);
|
|
|
+ // l(e);
|
|
|
+ //if(player.flying))return;
|
|
|
Ze("tour");
|
|
|
ve.play();
|
|
|
J.trackAlways("showcase_gui", {
|
|
@@ -23996,6 +23997,7 @@ window.Modernizr = function(n, e, t) {
|
|
|
n.prototype.blackToPano = function(o={}) {//add 瞬间过渡
|
|
|
//o.panoId = "8bc9156b288d48459e4e0f74d7051ef1"
|
|
|
|
|
|
+ if(this.flying || this.isWarping() )return;
|
|
|
|
|
|
let oldPos = this.position.clone();
|
|
|
let oldPano = this.currentPano
|
|
@@ -24012,7 +24014,7 @@ window.Modernizr = function(n, e, t) {
|
|
|
return void (this.waitingToWarp = !0)
|
|
|
|
|
|
this.emit("pano.chosen", oldPano, pano),
|
|
|
-
|
|
|
+ this.flying = true
|
|
|
|
|
|
this.path.warpDestHeroLoc = {
|
|
|
panoId : o.panoId,
|
|
@@ -24027,6 +24029,7 @@ window.Modernizr = function(n, e, t) {
|
|
|
pano.enter()
|
|
|
this.currentPano = pano
|
|
|
this.emit("flying.ended", pano.position, oldPos, pano, oldPano)
|
|
|
+ this.flying = false
|
|
|
} )
|
|
|
|
|
|
}
|