mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
lottie/expressions: add missing expressions property updates
apply expressions to separate x/y transform coordinates.
This commit is contained in:
parent
1fdfe8a3b8
commit
439124d670
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue