|
|
@@ -21381,9 +21381,12 @@ window.Modernizr = function(n, e, t) {
|
|
|
var r = e || 0;
|
|
|
void 0 !== t && null !== t || (t = c.warp.teleportTime)
|
|
|
//add
|
|
|
- var done = ()=>{
|
|
|
- Hot.updateVisibles([this.player.currentPano]) //更新热点显示
|
|
|
- this.player.transitionPos({type:"beforeFlytopano", pano:this.player.currentPano, dur:0})//add
|
|
|
+ player.model.hotGroup.visible = false
|
|
|
+ var done = ()=>{
|
|
|
+ this.player.transitionPos({type:"beforeFlytopano", pano:this.player.currentPano, dur:0, callback:()=>{
|
|
|
+ player.model.hotGroup.visible = true
|
|
|
+ Hot.updateVisibles([this.player.currentPano]) //更新热点显示
|
|
|
+ }})
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -23688,7 +23691,11 @@ window.Modernizr = function(n, e, t) {
|
|
|
begin(hot, pos , qua, scale )
|
|
|
//}
|
|
|
}
|
|
|
-
|
|
|
+ if(o.callback){
|
|
|
+ setTimeout(()=>{
|
|
|
+ o.callback()
|
|
|
+ },o.dur + 16) ;//姑且这么写
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|