parseSvgPathData icon indicating copy to clipboard operation
parseSvgPathData copied to clipboard

ClosePath has no startPath (with dyi fix)

Open luckyde opened this issue 6 years ago • 0 comments

Hey there,

I'm implementing this into a canvas engine where I can morph shapes, I wanted to mention on implementing this on loop the old drawing stays on the stage and I was wondering why and found that your ctx.closetPath() has no beginPath() When I added it to the init() at the end - ctx.beginPath() the problem went away :)

Maybe its just be but yeah clearing the canvas context on every frame didnt help, adding that beginPath to your lib did

Thanks!

luckyde avatar Jul 31 '19 18:07 luckyde