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

stroke and background colors do not change with state. #38

Closed
ELI7VH opened this issue May 3, 2018 · 1 comment
Closed

stroke and background colors do not change with state. #38

ELI7VH opened this issue May 3, 2018 · 1 comment

Comments

@ELI7VH
Copy link

ELI7VH commented May 3, 2018

I set strokeColor and backgroundColor to this.state... and when I change the state (as well as the recording state), the color does not change with it.

thoughts?

@hackingbeauty
Copy link
Owner

You can only set the strokeColor and backgroundColor when the component first initializes. You can't change the colors any time you want (like when changing component state).

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

No branches or pull requests

2 participants