You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you! I think the best way to handle invalid offsets is just ignore them, i.e. use 1 for all values >1 and 0 for all values <0. We'll plan such a fix for the next release.
Hi there,
First of all, great work ! Love Macaw ;)
I understand that you are not supposed to pass Stop Offsets > 1.0 but if you do it makes the app crash hard.
Example:
let green_radial_gradient_fill = RadialGradient( stops: [ Stop(offset:0, color: Color(val: 0x39b54a)), Stop(offset:0.45, color: Color(val: 0x39b54a)),Stop(**offset:1.1**, color: Color(val: 0x000000))])
Not sure what the best way would be to handle this, but it would be helpful to see a warning in logs or something rather than a hard exit.
Cheers,
Mark
The text was updated successfully, but these errors were encountered: