Browse Source

forcegraph: tickevent is already in animation frame

Nils Schneider 9 years ago
parent
commit
e36d3b1a6a
1 changed files with 1 additions and 1 deletions
  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() {