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

Omit processing to the 4th argument in p5.js webgl stroke() #5989

Merged
merged 1 commit into from
Feb 1, 2023
Merged

Omit processing to the 4th argument in p5.js webgl stroke() #5989

merged 1 commit into from
Feb 1, 2023

Conversation

inaridarkfox4231
Copy link
Contributor

Omit the process of setting the fourth argument to 255 in stroke(). Because it doesn't make sense.

Resolves #5988

Changes:

Even without setting the 4th argument to 255, for example, if there are 3 arguments, the 4th argument will automatically become the maximum transparency, so I thought this process was unnecessary.

PR Checklist

Omit the process of setting the fourth argument to 255 in stroke(). Because it doesn't make sense.
Copy link
Contributor

@davepagurek davepagurek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the cleanup!

@davepagurek davepagurek merged commit aab9f23 into processing:main Feb 1, 2023
@inaridarkfox4231
Copy link
Contributor Author

thanks for merge! ('ω')

@inaridarkfox4231 inaridarkfox4231 deleted the Omit-some-process-in-stroke branch February 1, 2023 14:53
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.

No need to specify 255 as the fourth argument in stroke()
2 participants