Skip to content

Commit

Permalink
Make variable name more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnovak committed Sep 16, 2024
1 parent dce9598 commit 2f85295
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/tubemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
Expand Down

0 comments on commit 2f85295

Please sign in to comment.