Fix route bug
This commit is contained in:
parent
6d052efba5
commit
e6b620d202
@ -1098,7 +1098,7 @@ maps.prototype.animateBlock = function (loc,type,time,callback) {
|
|||||||
if (alpha >=1 || alpha<=0) {
|
if (alpha >=1 || alpha<=0) {
|
||||||
delete core.animateFrame.asyncId[animate];
|
delete core.animateFrame.asyncId[animate];
|
||||||
clearInterval(animate);
|
clearInterval(animate);
|
||||||
core.setAlpha('curtain', 1);
|
core.setAlpha('route', 1);
|
||||||
if (type == 'show') {
|
if (type == 'show') {
|
||||||
loc.forEach(function (t) {
|
loc.forEach(function (t) {
|
||||||
core.showBlock(t[0],t[1],data.floorId);
|
core.showBlock(t[0],t[1],data.floorId);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user