mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
parent
84c7551c9b
commit
88a19b06f9
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ float LottieTextRange::factor(float frameNo, float totalLen, float idx)
|
||||||
clamp(f, 0.0f, 1.0f);
|
clamp(f, 0.0f, 1.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
return f;
|
return f * this->maxAmount(frameNo) * 0.01f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue