From 21d9aef0af95abefecdc7c1ad9c3ae7b175f6c6f Mon Sep 17 00:00:00 2001 From: LPeter1997 Date: Fri, 22 Sep 2023 15:58:18 +0200 Subject: [PATCH] Update TimelineGraph.tsx --- src/Draco.Trace.Visualizer/src/TimelineGraph.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Draco.Trace.Visualizer/src/TimelineGraph.tsx b/src/Draco.Trace.Visualizer/src/TimelineGraph.tsx index 1127ff3ff..afbafb0fe 100644 --- a/src/Draco.Trace.Visualizer/src/TimelineGraph.tsx +++ b/src/Draco.Trace.Visualizer/src/TimelineGraph.tsx @@ -90,12 +90,10 @@ function buildGraph(domRef: React.MutableRefObject, props: Props) { svg .selectAll('g') .select('rect') - .transition(transition) .attr('transform', `translate(${x} 0) scale(${k} 1)`); svg .selectAll('g') .select('text') - .transition(transition) .attr('transform', (node: any) => { return `translate(${x + (k - 1) * ((node.visualBounds.x0 + node.visualBounds.x1) / 2)} 0)`; });