lottie/expressions: add missing expressions property updates

apply expressions to separate x/y transform coordinates.
This commit is contained in:
Hermet Park 2024-08-01 19:31:19 +09:00
parent 5ff9c08ba9
commit 52f68b79b6

View file

@ -175,7 +175,7 @@ static bool _updateTransform(LottieTransform* transform, float frameNo, bool aut
}
if (transform->coords) {
mathTranslate(&matrix, transform->coords->x(frameNo), transform->coords->y(frameNo));
mathTranslate(&matrix, transform->coords->x(frameNo, exps), transform->coords->y(frameNo, exps));
} else {
auto position = transform->position(frameNo, exps);
mathTranslate(&matrix, position.x, position.y);