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 1fdfe8a3b8
commit 439124d670

View file

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