"complex" gradients do not render
Gradients such as "elegance", "raccoonBack", "aboveClouds", etc... do not produce a colour, whereas the more simple ones such as "purpleDivision", "aquaSplash", "warmFlame" etc... do produce a colour as expected. Any idea why?
Hi @368433 I'm sorry too late and thank you for your reporting I will check this with Gradients example :)
thanks :)
Complex gradiend creates new CALayer instance as a parent layer which cause this problem.
https://github.com/Gradients/Gradients/blob/d031b058bd50223e825e0ae66802511ec0737e08/Gradients/Sources/Gradients%2BLayer.swift#L259-L267
Even if I set bounds for newly created CALeyer does not solve it. 😔
I could not figured it out how fix...