antfu / drauu

Headless SVG-based drawboard in browser.
https://drauu.netlify.app/
MIT License
1.2k stars 64 forks source link

On Playground: Bug when mousing away, then mousing back over #2

Closed alectrocute closed 3 years ago

alectrocute commented 3 years ago

To reproduce: Mousedown and hold in canvas, drag your mouse into the UI menu at the top (outside the container), mouseup and then move your mouse back into the canvas. Now observe how you are drawing without any mousedown input at the thinnest stroke size.

I may be able to fix via PR if I have the time. Thanks! Love this project.