antfu / drauu

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

Inconsistent sizing between brush types #30

Closed haykkh closed 1 year ago

haykkh commented 1 year ago

For the stylus tool we double our brush size when generating the path data, resulting in a line twice the thickness of other tools

https://github.com/antfu/drauu/blob/a93fdf094eda08ac22a6f6c380385f3f5c9a2e9a/packages/core/src/models/stylus.ts#L40-L51