setInterval time & load statusBar
This commit is contained in:
parent
ccb89e422f
commit
e5a7c9e10c
@ -1566,7 +1566,7 @@ control.prototype.setFg = function(color, time, callback) {
|
|||||||
core.clearMap('curtain');
|
core.clearMap('curtain');
|
||||||
core.fillRect('curtain', 0, 0, 416, 416, core.arrayToRGBA([nowR,nowG,nowB,nowA]));
|
core.fillRect('curtain', 0, 0, 416, 416, core.arrayToRGBA([nowR,nowG,nowB,nowA]));
|
||||||
|
|
||||||
if (step>=25) {
|
if (step>=steps) {
|
||||||
delete core.animateFrame.asyncId[changeAnimate];
|
delete core.animateFrame.asyncId[changeAnimate];
|
||||||
clearInterval(changeAnimate);
|
clearInterval(changeAnimate);
|
||||||
core.status.curtainColor = color;
|
core.status.curtainColor = color;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user