From ddd7904b1938b02981fb39f868acfca5f1dc33fe Mon Sep 17 00:00:00 2001 From: Matthias Konitzny <konitzny@ibr.cs.tu-bs.de> Date: Wed, 14 Sep 2022 11:42:03 +0200 Subject: [PATCH] Fixed a bug which caused re-renders to trigger the force simulation --- src/editor/renderer.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/editor/renderer.tsx b/src/editor/renderer.tsx index 9969656..3309ba8 100644 --- a/src/editor/renderer.tsx +++ b/src/editor/renderer.tsx @@ -403,7 +403,6 @@ export class GraphRenderer2D extends React.PureComponent< } render() { - this.warmupTicks = this.defaultWarmupTicks; return ( <ForceGraph2D ref={this.forceGraph} -- GitLab