Fix actor size issue 59/234959/1
authorHeeyong Song <heeyong.song@samsung.com>
Fri, 29 May 2020 02:05:28 +0000 (11:05 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Mon, 1 Jun 2020 05:57:19 +0000 (14:57 +0900)
commitd120946c5c9b663c5c9f8046825a7acf01a8cf98
treeeae49a8b81187d6dda38aceea4bdc60d9057e3b1
parentda3511c7849b526c338d5ae95ecfc4a4770c609a
Fix actor size issue

SetSize() was ignored if Actor::SetSize() and the size animation was used at the same time
because the mRelayoutData->preferredSize was updated in OnNotifyDefaultPropertyAnimation().

Do not change mRelayoutData->preferredSize in OnNotifyDefaultPropertyAnimation()
and keep the animated size value as a separate value while the animation is playing.

Change-Id: I2de604e9e10c22e970dbc5902826cd67eb306f54
automated-tests/src/dali/utc-Dali-Actor.cpp
dali/internal/event/actors/actor-impl.cpp
dali/internal/event/actors/actor-impl.h