LottieSharp icon indicating copy to clipboard operation
LottieSharp copied to clipboard

Texts elements shifted

Open AntoineBouquetSully opened this issue 3 years ago • 3 comments

Hello,

after using this plugin in a WPF project, we saw that texts elements of the Lottie json file are shifted to the right, compare to the real animation.

For exemple, we have this animation that "Lottie" text appeared at the bottom right corner.

When this JSON is used with LottieSharp, there is the same animated frame but the text "Lottie" is shift to right, as we can see in the picture below representing the last frame of the animation.

test1

There is a solution to this ? Or this a bug to fix ?

Thanks in advance for your time

Antoine

AntoineBouquetSully avatar Mar 12 '21 15:03 AntoineBouquetSully

Hello, I imagine this is new animation. So we didn't update it for long time and maybe if you can export it with the older version of bodymovin if possible for you.

OmidID avatar Mar 12 '21 16:03 OmidID

Hi, thanks for your answer.

What do you mean by "new animation" and "older version"? What older version of Lottie After Effect Plugin do you think it must be used for fix this bug?

If I understand well, versions of this plugin could be found here : https://github.com/airbnb/lottie-web/tags

Besides, do you think a fix is possible to LottieSharp in order to use new and old animation with texts? I have not looked at the code of this plugin yet but maybe can I suggest to you a PR if it is not too complicated?

AntoineBouquetSully avatar Mar 15 '21 08:03 AntoineBouquetSully

Sorry for late, You know this project had no update on the protocol over 2 years and I cannot mention by version id or tag id.

And you are welcome to help to maintain and update it as well.

OmidID avatar Mar 18 '21 13:03 OmidID