Ver código fonte

forcegraph: tickevent is already in animation frame

Nils Schneider 9 anos atrás
pai
commit
e36d3b1a6a
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      lib/forcegraph.js

+ 1 - 1
lib/forcegraph.js

@@ -383,7 +383,7 @@ define(["d3"], function (d3) {
     }
 
     function tickEvent() {
-      requestAnimationFrame(redraw)
+      redraw()
     }
 
     function resizeCanvas() {