Revert "[5.0] Workaround in AbsoluteLayout for animation bug in legacy application."
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Fri, 14 Dec 2018 02:37:39 +0000 (11:37 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Fri, 14 Dec 2018 02:37:45 +0000 (11:37 +0900)
This reverts commit 79ea2753a3d60c8d1ca9f2adbdc0aff005109252.

Change-Id: If557687404cadc6fb59e4131d583eea437cb60ef

dali-toolkit/internal/layouting/absolute-layout-impl.cpp

index ebd70a7..8a635af 100644 (file)
@@ -99,15 +99,6 @@ void AbsoluteLayout::OnMeasure( MeasureSpec widthMeasureSpec, MeasureSpec height
       // Determine the width and height needed by the children using their given position and size.
       // Children could overlap so find the left most and right most child.
       auto childPosition = childOwner.GetProperty< Vector3 >( Actor::Property::POSITION );
-      auto childSize = childOwner.GetProperty< Vector3 >( Actor::Property::SIZE );
-
-      // Check if there on going position or size animation and skip it to avoid legacy application regressions
-      if( childPosition != childOwner.GetCurrentProperty< Vector3 >( Actor::Property::POSITION ) ||
-          childSize != childOwner.GetCurrentProperty< Vector3 >( Actor::Property::SIZE ) )
-      {
-        break;
-      }
-
       LayoutLength childLeft = childPosition.x;
       LayoutLength childTop = childPosition.y;
 
@@ -167,14 +158,6 @@ void AbsoluteLayout::OnLayout( bool changed, LayoutLength left, LayoutLength top
       LayoutLength childHeight = childLayout->GetMeasuredHeight();
 
       auto childPosition = childOwner.GetProperty< Vector3 >( Actor::Property::POSITION );
-      auto childSize = childOwner.GetProperty< Vector3 >( Actor::Property::SIZE );
-
-      // Check if there on going position or size animation and skip it to avoid legacy application regressions
-      if( childPosition != childOwner.GetCurrentProperty< Vector3 >( Actor::Property::POSITION ) ||
-          childSize != childOwner.GetCurrentProperty< Vector3 >( Actor::Property::SIZE ) )
-      {
-        break;
-      }
 
       LayoutLength childTop = childPosition.y;
       LayoutLength childLeft = childPosition.x;