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

explicitly check if mouseIsPressed is true for documentation #5437

Merged
merged 1 commit into from
Oct 5, 2021

Conversation

michaeleggers
Copy link
Contributor

Resolves #5430

Changes:
In the documentation examples for mouseIsPressed, the variable is not explicitly checked against true. keyIsDown, however, does this already. I think it would be good to have the documentation consistent in that.

@limzykenneth limzykenneth merged commit 817b280 into processing:main Oct 5, 2021
@limzykenneth
Copy link
Member

Looks good, thanks!

@michaeleggers
Copy link
Contributor Author

Looks good, thanks!

Thank you! :)

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.

check if keyIsPressed === true
2 participants