X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Fsize-negotiation%2Frelayout-controller-impl.cpp;h=497f5154ecd7fc00cd04c95d3c5d768b918cd6a3;hb=e904f8e790dd8e981b952fd1d86d4486ff5da47e;hp=fbf04110eb03c2c35653de3288b10e6bcfd8c831;hpb=f4e07f379eff2d260e3670e79aa30f73420462ae;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/size-negotiation/relayout-controller-impl.cpp b/dali/internal/event/size-negotiation/relayout-controller-impl.cpp index fbf0411..497f515 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) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 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()) + if(actorImpl.RelayoutRequired() && actorImpl.OnScene()) { 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);