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

Color option is not visually respected #37

Open
davishyer opened this issue Aug 1, 2022 · 0 comments · May be fixed by #38
Open

Color option is not visually respected #37

davishyer opened this issue Aug 1, 2022 · 0 comments · May be fixed by #38

Comments

@davishyer
Copy link

Confetti particles currently appear (visually) to not respect the provided color options. This is because there is no way to control the usage of opacity, which on different colored backgrounds appears to alter the color of the particles.

Here is a link to an example of this reproduced. Judging from the source, it appears that for this specific example the opacity is not intended to apply as it is determined by a randomly assigned radius, something that is not used in rendering square particles. Ideally the opacity would be able to be controlled by an additional option, or at the very least disabled by an option.

davishyer added a commit to davishyer/confetti-js that referenced this issue Aug 1, 2022
@davishyer davishyer linked a pull request Aug 1, 2022 that will close this issue
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 a pull request may close this issue.

1 participant