From e36d3b1a6ac92a09f4c48a34badd80aac3853897 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sun, 19 Apr 2015 02:50:15 +0200 Subject: [PATCH] forcegraph: tickevent is already in animation frame --- lib/forcegraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/forcegraph.js b/lib/forcegraph.js index c02ca0f..2b266c5 100644 --- a/lib/forcegraph.js +++ b/lib/forcegraph.js @@ -383,7 +383,7 @@ define(["d3"], function (d3) { } function tickEvent() { - requestAnimationFrame(redraw) + redraw() } function resizeCanvas() {