[Tizen] Relayout only if the actor is on Scene 90/274090/1
authorHeeyong Song <heeyong.song@samsung.com>
Tue, 19 Apr 2022 05:17:54 +0000 (14:17 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Thu, 21 Apr 2022 07:03:18 +0000 (16:03 +0900)
commit63cb396de8cce7f12def4c9d1259f23d70d37b22
tree70cae76d5af8e3dcafa5949a092c468519995256
parent6a039f2b5a7135d8a09130481e13e78299278c3a
[Tizen] Relayout only if the actor is on Scene

We're already checking whether the actor is on scene in RelayoutController::Relayout() before it is added to the mRelayoutStack.
But there is a case that the actor is removed from the scene in the previous OnRelayout.
So check whether the actor is on scene again.

Change-Id: Ia2b64e7f39f24d67b65b9689c720a7ef359d54fd
dali/internal/event/size-negotiation/relayout-controller-impl.cpp