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

strokeColor is cached when changing drawingColor, affecting first points #4

Merged
merged 2 commits into from Jun 21, 2015
Merged

Conversation

adamjuhasz
Copy link

Now when strokeColor cool is changed bezier path with cached color is thrown out.
When toggling draw/text mode in example draw will be a random color

Example
ios simulator screen shot jun 21 2015 1 37 01 pm

Adam Juhasz added 2 commits June 21, 2015 15:22
If you switched the draw color then the first few few points not the
line were the old color due to caching
@lauraskelton
Copy link
Contributor

Good catch, thanks for contributing!

lauraskelton added a commit that referenced this pull request Jun 21, 2015
strokeColor is cached when changing drawingColor, affecting first points
@lauraskelton lauraskelton merged commit 175ee54 into IFTTT:master Jun 21, 2015
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.

None yet

2 participants