X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Flayouting%2Fabsolute-layout-impl.cpp;h=d69f7731abdb5828849099a350910511dbcf9d14;hb=d78c08ec6a92ab08da3dc21fe46e85c58b74998f;hp=8a635af1041005147df2d4dc66cd7cb9526634ba;hpb=1f995b81544e37cf808ff1b04470e851a414cc50;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/layouting/absolute-layout-impl.cpp b/dali-toolkit/internal/layouting/absolute-layout-impl.cpp index 8a635af..d69f773 100644 --- a/dali-toolkit/internal/layouting/absolute-layout-impl.cpp +++ b/dali-toolkit/internal/layouting/absolute-layout-impl.cpp @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -158,6 +159,12 @@ void AbsoluteLayout::OnLayout( bool changed, LayoutLength left, LayoutLength top LayoutLength childHeight = childLayout->GetMeasuredHeight(); auto childPosition = childOwner.GetProperty< Vector3 >( Actor::Property::POSITION ); + // Check if there on going position or size animation and skip it to avoid legacy application regressions + if( DevelActor::IsPositionOrSizeCurrentlyAnimating( Actor::DownCast( childOwner ) ) && + !childLayout->IsLayoutAnimated() ) + { + continue; + } LayoutLength childTop = childPosition.y; LayoutLength childLeft = childPosition.x;