mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-20 23:11:39 +00:00
Fix identity namespace
This commit is contained in:
parent
d5416de8ac
commit
666a8b7682
1 changed files with 1 additions and 1 deletions
|
@ -1125,7 +1125,7 @@ void LottieBuilder::updateText(LottieLayer* layer, float frameNo)
|
|||
auto& matrix = shape->transform();
|
||||
|
||||
if (followPath) {
|
||||
identity(&matrix);
|
||||
tvg::identity(&matrix);
|
||||
auto angle = 0.0f;
|
||||
auto halfGlyphWidth = glyph->width * 0.5f;
|
||||
auto position = followPath->position(cursor.x + halfGlyphWidth + firstMargin, angle);
|
||||
|
|
Loading…
Add table
Reference in a new issue