Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README with correct default option value #49

Merged
merged 1 commit into from
Jun 26, 2022

Conversation

gilesvangruisen
Copy link
Contributor

@gilesvangruisen gilesvangruisen commented Jun 8, 2022

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.

Changes the default `last` option to `false` in the readme to match the behavior
@vercel
Copy link

vercel bot commented Jun 8, 2022

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
Copy link
Owner

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

@steveruizok steveruizok merged commit 46df7c4 into steveruizok:main Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants