Browse Source

Add prefix to cancelAnimationFrame() (#3087)

gemini
wimrijnders 7 years ago
committed by yotamberk
parent
commit
87cd18230d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/network/modules/CanvasRenderer.js

+ 1
- 1
lib/network/modules/CanvasRenderer.js View File

@ -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();
}); });

Loading…
Cancel
Save