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

Fix crash when using UIColor(patternImage:) #544

Merged
merged 1 commit into from
Dec 15, 2020

Conversation

rechsteiner
Copy link
Owner

@rechsteiner rechsteiner commented Dec 15, 2020

Colors initialized with UIColor(patternImage:) have only 1 which
crashes the color interpolation. Since the color can contain any type
of image we just default to black.

Fixes #507

Colors initialized with UIColor(patternImage:) have only 1 which
crashes the color interpolation. Since the color can contain any type
of image we just default to black.
@rechsteiner rechsteiner merged commit 811927d into master Dec 15, 2020
@rechsteiner rechsteiner deleted the fix-color-interpolation-crash branch December 15, 2020 20:00
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.

Crash in color transition when I use UIColor(patternImage:)
1 participant