Replace a MoveBy by an AnimateBy. 75/37875/1
authorVictor Cebollada <v.cebollada@samsung.com>
Tue, 7 Apr 2015 14:53:15 +0000 (15:53 +0100)
committerVictor Cebollada <v.cebollada@samsung.com>
Tue, 7 Apr 2015 14:55:24 +0000 (15:55 +0100)
Change-Id: I399401a09e722fd85a026ffc2189e6bd090147f9
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
examples/text-label-emojis/text-label-emojis.cpp

index 1cdff6cc355ce6222560b183ecbf10c89538b925..af3337606f4b10913937c02fa1a720219b338cec 100644 (file)
@@ -99,7 +99,7 @@ public:
       {
         if( mAnimation )
         {
-          mAnimation.MoveBy( mTableView, Vector3( 0.f, localPoint - mLastPoint, 0.f ), AlphaFunctions::Linear );
+          mAnimation.AnimateBy( Property(mTableView, Actor::Property::POSITION), Vector3( 0.f, localPoint - mLastPoint, 0.f ), AlphaFunctions::Linear );
           mAnimation.Play();
           mLastPoint = localPoint;
         }