From: Jaehyun Cho Date: Thu, 21 Apr 2022 09:15:45 +0000 (+0900) Subject: Revert "[Tizen] Relayout only if the actor is on Scene" X-Git-Tag: accepted/tizen/unified/20220422.021256~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=38e24a9add7c7ccc1082946534ec1f6c2ad8a31d;p=platform%2Fcore%2Fuifw%2Fdali-core.git Revert "[Tizen] Relayout only if the actor is on Scene" This reverts commit 63cb396de8cce7f12def4c9d1259f23d70d37b22. --- diff --git a/dali/internal/event/size-negotiation/relayout-controller-impl.cpp b/dali/internal/event/size-negotiation/relayout-controller-impl.cpp index 497f515..fbf0411 100644 --- a/dali/internal/event/size-negotiation/relayout-controller-impl.cpp +++ b/dali/internal/event/size-negotiation/relayout-controller-impl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -446,7 +446,7 @@ void RelayoutController::Relayout() Actor& actorImpl = GetImplementation(actor); mRelayoutStack->PopBack(); - if(actorImpl.RelayoutRequired() && actorImpl.OnScene()) + if(actorImpl.RelayoutRequired()) { DALI_LOG_INFO(gLogFilter, Debug::General, "[Internal::RelayoutController::Relayout] Negotiating %p %s %s (%.2f, %.2f)\n", &actorImpl, actor.GetTypeName().c_str(), actor.GetProperty(Dali::Actor::Property::NAME).c_str(), size.width, size.height);