Relayout only if the actor is on Scene 66/273966/1
authorHeeyong Song <heeyong.song@samsung.com>
Tue, 19 Apr 2022 05:17:54 +0000 (14:17 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Tue, 19 Apr 2022 05:17:54 +0000 (14:17 +0900)
commite904f8e790dd8e981b952fd1d86d4486ff5da47e
tree4fab90e15a922c7fcfe9856d31bbfd4dbc7d75ff
parentf4e07f379eff2d260e3670e79aa30f73420462ae
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