From 9f1a5c44cb525027a40966be5864db3f9ce35ca1 Mon Sep 17 00:00:00 2001 From: Jonah <47046556+jwbonner@users.noreply.github.com> Date: Thu, 10 Oct 2024 22:13:25 -0400 Subject: [PATCH] Fix interference between points renderers (#219) --- src/shared/renderers/PointsRenderer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shared/renderers/PointsRenderer.ts b/src/shared/renderers/PointsRenderer.ts index e9a12707..394c09e1 100644 --- a/src/shared/renderers/PointsRenderer.ts +++ b/src/shared/renderers/PointsRenderer.ts @@ -54,7 +54,8 @@ export default class PointsRenderer implements TabRenderer { // Render new points command.sets.forEach((set) => { - set.points.forEach((position, index) => { + set.points.forEach((positionSource, index) => { + let position = [positionSource[0], positionSource[1]]; if ( position[0] < 0 || position[0] > command.dimensions[0] ||