Fix actor size issue 25/234825/3
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 04:34:26 +0000 (13:34 +0900)
commit8e2fde0306de39b285e405952d61907fc625a56c
treedf07e1eb536456710fbf130dda0f0c563731390d
parent775a5e5e73cf63e11c86f30b74da5cbc67569878
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