antfu / drauu

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

Brush size #9

Closed btea closed 3 years ago

btea commented 3 years ago

The brush size could be a negative number,maybe add a tip or limit the size

antfu commented 3 years ago

I guess this is more like a case that needs to be handled on the application side, since it does not really make too much sense to have a negative size. Better to limit on the input instead of throwing error/warning.