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

Non-proportional scale transform doesn't affect stroke shape, only underlying path #2608

Open
sammularczyk opened this issue Feb 7, 2025 · 0 comments

Comments

@sammularczyk
Copy link

sammularczyk commented Feb 7, 2025

Checklist

  1. My animation doesn't use any unsupported features. ✅
  2. I know what part of my animation doesn't work. ✅
  3. I have created a simplified version of my animation ✅
  4. I have attached the AEP file (as a zip file so it can be attached) that only has the part of the animation that doesn't work. ✅

Describe the bug
Non-proportionally scaling a path with a stroke applied does not render correctly. Only manipulates the underlying path. Stroke remains unstretched, with inconsistent changes in stroke width.

Web and iOS players render it perfectly - see attached comparison between After Effects, iOS and Android.

What version of Lottie did you test this on?
Lottie 6.5.0
What version of Android did you test this on?
14

Steps To Reproduce
Steps to reproduce the behavior:

  1. Create a path
  2. Apply a stroke
  3. Animate a scale transform on the layer, stretching one dimension longer than the other.

Screenshots

Image Image Image

StrokeScaleTest.aep.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant