Skip to content

Conversation

@maxsei
Copy link

@maxsei maxsei commented Feb 18, 2024

After considering the ease of implementing "packedLines" and the ambiguity in refactoring "packedPolyline" in #448, I thought it's best to just implement it.

? opts.num
: ((pts.length - start) / estride) | 0;
ctx.beginPath();
for (let i = start + estride; num-- > 1; i += estride) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identical blocks of code found in 2 locations. Consider refactoring.

estride: 2,
...opts,
};
let num =

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 4 locations. Consider refactoring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant