oops, interval was not clearing because 'this' is not the same 'this' inside an interval. Should use local variable 'self' instead. Reviewers you should have spotted this! :)
This commit is contained in:
parent
c93e7c9c87
commit
5bd080fd05
@ -361,7 +361,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||||||
textLayerQueue.splice(i, 1);
|
textLayerQueue.splice(i, 1);
|
||||||
}
|
}
|
||||||
if (textLayerQueue.length == 0)
|
if (textLayerQueue.length == 0)
|
||||||
clearInterval(this.textLayerTimer);
|
clearInterval(self.textLayerTimer);
|
||||||
}, 1);
|
}, 1);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user