Skip to content

2.0.0-beta02

Pre-release
Pre-release
Compare
Choose a tag to compare
@alexzhirkevich alexzhirkevich released this 10 Jul 07:18
· 97 commits to standalone-main since this release

Changes since 2.0.0-beta01:

Highlights

After Effects Expressions are JS scripts that you can use together with keyframes and dynamic properties to animate objects.

Compottie now has it's own lightweight ECMAScript / JS interpreter and supports most of commonly-used After Effects expressions (such as math, random, wiggle, looping, properties, time manipulation, etc).
Expressions are enabled by default under the enableExpressions LottiePainter feature flag . You can disable it if your animation doesn't work as expected or displays warnings.

Fixes

  • Fixed a bug when animations with precompositions would not display without assets manager provided (#8)
  • LottieImage was renamed to LottieImageSpec (to match LottieFontSpec). It may affect you if you were implementing custom LottieAssetsManager
  • Improved content scale for LottiePainter. It is now correctly scaled when you use ContentScale like FillBounds,FillWidth,FillHeight for Image that draws the painter.

Features

  • LottiePainter now has extra parameter called enableTextGrouping. It allows to correctly render words in some unusual/RTL locales such as Arabic, but adds some limitations. Text positioning may become broken