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
Hmmm..... I will have to think about how to best go about fixing this.
Essentially the problem is that avocado is baking <group> transforms into the <path>, but is not taking the gradient coordinates into account. I messed around for a while here but wasn't able to figure out the fix yet. To be completely honest I haven't looked at this code in a while and I forget how Android draws gradients. I will have to look more into this and figure out how exactly the gradient coordinates need to be transformed...
A temporary workaround could be to add android:name="whatever_you_want" to the <group> tag that has the transform properties. avocado won't optimize groups with android:names (since it usually means that their properties are being animated with an AVD). So if you do that, it will bypass the "bake-transforms-into-paths" behavior that is causing the bug.
Heres the input:
when run the optimizer loses the rotation
The text was updated successfully, but these errors were encountered: