mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-04 21:41:45 +00:00
lottieitem : fix wrong matrix computation order.
It occured scaled position, now it's fixed. Change-Id: Id179c32139fb0722a6f4faaaea7044944c2e4c92
This commit is contained in:
parent
c0f50fb89a
commit
a7ec780181
@ -80,7 +80,7 @@ bool LOTCompItem::update(int frameNo)
|
||||
float ty = (viewPort.height() - viewBox.height() * scale) * 0.5;
|
||||
|
||||
VMatrix m;
|
||||
m.scale(scale, scale).translate(tx, ty);
|
||||
m.translate(tx, ty).scale(scale, scale);
|
||||
mRootLayer->update(frameNo, m, 1.0);
|
||||
|
||||
mCurFrameNo = frameNo;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user