Make property resetter age down correctly 77/296477/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 28 Jul 2023 12:23:17 +0000 (21:23 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 31 Jul 2023 00:51:16 +0000 (09:51 +0900)
commit36d646de762ff50e93e0cb84f38ede5dee635a76
treea702eb0bdea2ec18cf5d66503bb5afcba3d1c237
parentd060c73bee42a0d363d77020a5e5dc07acd957e0
Make property resetter age down correctly

Previously, we call this sequence.

frame#1
 - ObjectDestroyed (mRunning = AGING)
 - ResetToBaseValue (mRunning = STOPPED)
 - IsFinished (mRunning <= STOPPED --> finished!)

That mean, this property resetter works only 1 frame.

Now make age down on IsFinished function, so age works 2 frames.

frame#1
 - ObjectDestroyed (mRunning = AGING)
 - ResetToBaseValue (mRunning = AGING)
 - IsFinished (mRunning = STOPPED --> not finished!)
frame#2
 - ResetToBaseValue (mRunning = STOPPED)
 - IsFinished (mRunning <= STOPPED --> finished!)

Change-Id: Ie938df6088c4d73087fc138d29ebbf93df7f8dc7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/update/common/property-resetter.h