Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to draw dots #5

Closed
BenJeau opened this issue Dec 21, 2020 · 0 comments · Fixed by #14
Closed

Be able to draw dots #5

BenJeau opened this issue Dec 21, 2020 · 0 comments · Fixed by #14
Labels
bug Something isn't working priority: high
Milestone

Comments

@BenJeau
Copy link
Owner

BenJeau commented Dec 21, 2020

I think this is related to my implementation of creating the SVG path strings, in the following function

export const createSVGPath = (path: PathDataType) => {
return path.reduce((acc, point, index) => {
let letter = 'L';
if (index === 0) letter = 'M';
return `${acc}${letter} ${point[0]},${point[1]} `;
}, '');

I could either

@BenJeau BenJeau added the bug Something isn't working label Dec 21, 2020
@BenJeau BenJeau added this to the 1.0.0 milestone Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant