fix typo in isRendering

This commit is contained in:
Asturur 2017-08-10 00:12:34 +02:00
parent 39321c7b34
commit 1fd1ba3b55

View file

@ -825,8 +825,8 @@
*/
renderAll: function () {
var canvasToDrawOn = this.contextContainer;
if (this.rendering) {
fabric.window.cancelAnimationFrame(this.rendering);
if (this.isRendering) {
fabric.window.cancelAnimationFrame(this.isRendering);
}
this.renderCanvas(canvasToDrawOn, this._objects);
return this;