|
@ -61,7 +61,7 @@ class CanvasRenderer { |
|
|
clearTimeout(this.renderTimer); |
|
|
clearTimeout(this.renderTimer); |
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|
cancelAnimationFrame(this.renderTimer); |
|
|
|
|
|
|
|
|
window.cancelAnimationFrame(this.renderTimer); |
|
|
} |
|
|
} |
|
|
this.body.emitter.off(); |
|
|
this.body.emitter.off(); |
|
|
}); |
|
|
}); |
|
|