Skip to content

Commit

Permalink
Fix interference between points renderers (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Oct 11, 2024
1 parent b26e162 commit 9f1a5c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shared/renderers/PointsRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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] ||
Expand Down

0 comments on commit 9f1a5c4

Please sign in to comment.