Explorar o código

forcegraph: tickevent is already in animation frame

Nils Schneider %!s(int64=9) %!d(string=hai) anos
pai
achega
e36d3b1a6a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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() {