steveruizok / perfect-freehand

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

Update README with correct default option value #49

Closed gilesvangruisen closed 2 years ago

gilesvangruisen commented 2 years ago

Hey Steve! Thanks a ton for this library 🙏

As far as I can tell, last actually defaults to false, as setting it true in our app makes a clear difference. This also seems to be confirmed from looking at the code here and here.

Rather than change the behavior to match the doc, I figured I'd update the doc to match the behavior.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
perfect-freehand-example ✅ Ready (Inspect) Visit Preview Jun 8, 2022 at 7:30PM (UTC)
pf-dev ✅ Ready (Inspect) Visit Preview Jun 8, 2022 at 7:30PM (UTC)
steveruizok commented 2 years ago

Good catch! Yes it does default to false, and should be set to true when the line is "complete".