projects
/
platform
/
core
/
uifw
/
lottie-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0f50fb
)
lottieitem : fix wrong matrix computation order.
75/191475/1
author
Hermet Park
<hermetpark@gmail.com>
Wed, 17 Oct 2018 10:45:02 +0000
(19:45 +0900)
committer
Hermet Park
<hermetpark@gmail.com>
Wed, 17 Oct 2018 10:45:02 +0000
(19:45 +0900)
It occured scaled position, now it's fixed.
Change-Id: Id179c32139fb0722a6f4faaaea7044944c2e4c92
src/lottie/lottieitem.cpp
patch
|
blob
|
history
diff --git
a/src/lottie/lottieitem.cpp
b/src/lottie/lottieitem.cpp
index e4ad40cb63f5f0513c71dd40f86ee71b2499aa37..25f39b1c2f882c45e33e8019e4ebc901eb7818d4 100644
(file)
--- a/
src/lottie/lottieitem.cpp
+++ b/
src/lottie/lottieitem.cpp
@@
-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;