From: Seungho, Baek Date: Mon, 18 Feb 2019 05:41:42 +0000 (+0900) Subject: Revert "[Tizen] Fix z value issue" X-Git-Tag: accepted/tizen/unified/20190219.154102~8 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=bdc26ed4e50114ca03c704f5360b19b62c8e9233 Revert "[Tizen] Fix z value issue" This reverts commit 265bafaf00a4027096effaf045fd2601efd461c1. --- diff --git a/dali-toolkit/internal/layouting/layout-controller-impl.cpp b/dali-toolkit/internal/layouting/layout-controller-impl.cpp index b0637b3..9d0b947 100644 --- a/dali-toolkit/internal/layouting/layout-controller-impl.cpp +++ b/dali-toolkit/internal/layouting/layout-controller-impl.cpp @@ -347,19 +347,13 @@ void LayoutController::PerformLayoutPositioning( LayoutPositionDataArray& layout { if( !layoutPositionData.animated ) { - actor.SetX( layoutPositionData.left ); - actor.SetY( layoutPositionData.top ); - - actor.SetProperty( Actor::Property::SIZE_WIDTH, layoutPositionData.right - layoutPositionData.left ); - actor.SetProperty( Actor::Property::SIZE_HEIGHT, layoutPositionData.bottom - layoutPositionData.top ); + actor.SetPosition( layoutPositionData.left, layoutPositionData.top ); + actor.SetSize( layoutPositionData.right - layoutPositionData.left, layoutPositionData.bottom - layoutPositionData.top ); } else { - actor.SetX( actor.GetCurrentPosition().x ); - actor.SetY( actor.GetCurrentPosition().y ); - - actor.SetProperty( Actor::Property::SIZE_WIDTH, actor.GetCurrentSize().x ); - actor.SetProperty( Actor::Property::SIZE_HEIGHT, actor.GetCurrentSize().y ); + actor.SetPosition( actor.GetCurrentPosition() ); + actor.SetSize( actor.GetCurrentSize() ); } } }