simolus3 / fluttie

Easily display stunning Lottie animations in flutter apps with this plugin.
Other
453 stars 54 forks source link

Aspect Ratio of Animation Distorted #19

Open workerbee22 opened 5 years ago

workerbee22 commented 5 years ago

Using v0.3.2, but I noticed on the example app that the star look too 'long' and are not the correct aspect ratio. Animations are being 'squashed in height ie. they are not 'tall' enough. Also getting the same issue on my project using v0.3.2 of package with all of my other assets which show on lottiefiles.com in correct aspect ratio.

For example, the star.json extracted from the /example and uploaded into lottiefiles.com looks like this:

image

But in the /example app when built and running a star looks like this:

image

workerbee22 commented 5 years ago

Perhaps clearer with another example from IO app. Screenshot of correct aspect ratio when lottie json file uploaded to lottiefiles.com:

image

In a basic app with package v0.3.2:

image