mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-12 15:34:22 +00:00
lottie/expressions: add missing expressions property updates
apply expressions to separate x/y transform coordinates.
This commit is contained in:
parent
5ff9c08ba9
commit
52f68b79b6
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) {
|
||||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue