From 2b7c9c653f05ae820d3ece6cfd421cfd3739bb0b Mon Sep 17 00:00:00 2001 From: "taeyoon0.lee" Date: Thu, 7 Sep 2017 22:49:14 +0900 Subject: [PATCH] Set false in inherit layout direction when SetProperty( LAYOUT_DIRECTION, ... ) is called - If app developer SetProperty( LAYOUT_DIRECTION, ... ), INHERIT_LAYOUT_DIRECTION should be always false. Change-Id: Ifc1855e667e188c3d8dd468aa188c7acac268733 --- dali/internal/event/actors/actor-impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dali/internal/event/actors/actor-impl.cpp b/dali/internal/event/actors/actor-impl.cpp index f7df4d4..e1675cf 100644 --- a/dali/internal/event/actors/actor-impl.cpp +++ b/dali/internal/event/actors/actor-impl.cpp @@ -2887,10 +2887,10 @@ void Actor::SetDefaultProperty( Property::Index index, const Property::Value& pr case Dali::DevelActor::Property::LAYOUT_DIRECTION: { Dali::DevelActor::LayoutDirection::Type direction = mLayoutDirection; + mInheritLayoutDirection = false; if( Scripting::GetEnumerationProperty< DevelActor::LayoutDirection::Type >( property, LAYOUT_DIRECTION_TABLE, LAYOUT_DIRECTION_TABLE_COUNT, direction ) ) { - mInheritLayoutDirection = false; InheritLayoutDirectionRecursively( this, direction, true ); } break; -- 2.7.4