[3.0] Fix Control::ClearBackground 08/83308/1
authortaeyoon <taeyoon0.lee@samsung.com>
Wed, 10 Aug 2016 05:35:56 +0000 (14:35 +0900)
committertaeyoon <taeyoon0.lee@samsung.com>
Wed, 10 Aug 2016 05:36:34 +0000 (14:36 +0900)
This reverts commit f7a09c648753d9168dc689961de614c5f6b415d5.

Change-Id: I626df6c08381c5b39264e5afc52904f537247b14

dali-toolkit/public-api/controls/control-impl.cpp

index 6eec362..ce56e10 100644 (file)
@@ -511,6 +511,7 @@ void Control::ClearBackground()
 {
   Actor self( Self() );
   mImpl->mBackgroundVisual.RemoveAndReset( self );
+  mImpl->mBackgroundColor = Color::TRANSPARENT;
 }
 
 void Control::EnableGestureDetection(Gesture::Type type)