From 151fcb980c24773849fc20cd1e8c4b3ca20a1bca Mon Sep 17 00:00:00 2001 From: Gold87 <91761103+Gold872@users.noreply.github.com> Date: Tue, 7 Jan 2025 23:35:58 -0500 Subject: [PATCH] Fix trajectories not properly showing (#184) --- lib/widgets/nt_widgets/multi-topic/field_widget.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/widgets/nt_widgets/multi-topic/field_widget.dart b/lib/widgets/nt_widgets/multi-topic/field_widget.dart index e20e9eea..fd6af2af 100644 --- a/lib/widgets/nt_widgets/multi-topic/field_widget.dart +++ b/lib/widgets/nt_widgets/multi-topic/field_widget.dart @@ -750,8 +750,8 @@ class FieldWidget extends NTWidget { objectTrajectory.add( _getTrajectoryPointOffset( model, - x: objectPosition[0], - y: objectPosition[1], + x: objectPosition[i], + y: objectPosition[i + 1], fieldCenter: fieldCenter, scaleReduction: scaleReduction, ),