steveruizok / perfect-freehand

Draw perfect pressure-sensitive freehand lines.
https://perfectfreehand.com
MIT License
4.52k stars 159 forks source link

Do not fallback to defaults when pressure = 0 #35

Closed mudcube closed 3 years ago

mudcube commented 3 years ago

Often when using the Apple Pen, pressure = 0, this currently results in falling back to default values which creates erratic lines. This solves the issue.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/steveruiz/perfect-freehand-example/2rECzv6QMeai7wuyrbEF5FXan3qh
✅ Preview: https://perfect-freehand-example-git-fork-mudcube-patch-1-steveruiz.vercel.app

steveruizok commented 3 years ago

Awesome, thanks!

steveruizok commented 3 years ago

Published in 1.0.13.