From 2f852957084a1fb4a1a637c28e8d1d80613a9bca Mon Sep 17 00:00:00 2001 From: Adam Novak Date: Mon, 16 Sep 2024 11:18:47 -0400 Subject: [PATCH] Make variable name more descriptive --- src/util/tubemap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/tubemap.js b/src/util/tubemap.js index a52fc91..304dc61 100644 --- a/src/util/tubemap.js +++ b/src/util/tubemap.js @@ -4019,14 +4019,14 @@ function defineSVGPatterns() { function drawTrackCurves(type, groupTrack) { - const myTrackCurves = trackCurves.filter( + const filteredTrackCurves = trackCurves.filter( filterObjectByAttribute("type", type) ); const groupedCurves = {}; // Group track curves based on if they have the same start and end node - myTrackCurves.forEach((curve) => { + filteredTrackCurves.forEach((curve) => { // We're going to split this back into numbers so we should not use - as a separator. // TODO: Do we actually get negative oriented node numbers in here? const key = `${curve.nodeStart},${curve.nodeEnd}`;