From c02bd41fbb035b219e836fd06223bf876eb4df3a Mon Sep 17 00:00:00 2001 From: oc Date: Tue, 27 Feb 2018 22:30:17 +0800 Subject: [PATCH] Fix Hide Bug --- libs/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/core.js b/libs/core.js index 32035bfe..c40c2373 100644 --- a/libs/core.js +++ b/libs/core.js @@ -2965,7 +2965,6 @@ core.prototype.moveBlock = function(x,y,steps,time,immediateHide,callback) { ////// 显示/隐藏某个块时的动画效果 ////// core.prototype.animateBlock = function (loc,type,time,callback) { if (type!='hide') type='show'; - core.status.replay.animate=true; //clearInterval(core.interval.tipAnimate); core.saveCanvas('animate'); @@ -2991,6 +2990,7 @@ core.prototype.animateBlock = function (loc,type,time,callback) { return; } + core.status.replay.animate=true; var draw = function () { list.forEach(function (t) { core.canvas.animate.drawImage(t.blockImage, 0, t.blockIcon * 32, 32, 32, t.x * 32, t.y * 32, 32, 32);