Commit c1c5defbdabc83c915ce6586b83b224c53dc2c98
1 parent
163a83fe
Replace a MoveBy by an AnimateBy.
Change-Id: I399401a09e722fd85a026ffc2189e6bd090147f9 Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Showing
1 changed file
with
1 additions
and
1 deletions
examples/text-label-emojis/text-label-emojis.cpp
| ... | ... | @@ -99,7 +99,7 @@ public: |
| 99 | 99 | { |
| 100 | 100 | if( mAnimation ) |
| 101 | 101 | { |
| 102 | - mAnimation.MoveBy( mTableView, Vector3( 0.f, localPoint - mLastPoint, 0.f ), AlphaFunctions::Linear ); | |
| 102 | + mAnimation.AnimateBy( Property(mTableView, Actor::Property::POSITION), Vector3( 0.f, localPoint - mLastPoint, 0.f ), AlphaFunctions::Linear ); | |
| 103 | 103 | mAnimation.Play(); |
| 104 | 104 | mLastPoint = localPoint; |
| 105 | 105 | } | ... | ... |