From: minho.sun Date: Wed, 10 Aug 2016 05:15:49 +0000 (+0900) Subject: Fix Control::ClearBackground X-Git-Tag: dali_1.2.1~7 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=07cde2b7fadf09b888a5a3afa5bb534dd12badca Fix Control::ClearBackground ClearBackground() didn't make backgroundcolor Color:Transparent before. So, make ClearBackground set backgroundcolor to Color:Transparent after mImpl->mBackgroundRenderer.RemoveAndReset(). Change-Id: I467cb3569d9fca86313efddba1866dc176e5d4b8 Signed-off-by: minho.sun --- diff --git a/dali-toolkit/public-api/controls/control-impl.cpp b/dali-toolkit/public-api/controls/control-impl.cpp index 8c5eb2a..253f3a2 100644 --- a/dali-toolkit/public-api/controls/control-impl.cpp +++ b/dali-toolkit/public-api/controls/control-impl.cpp @@ -511,6 +511,7 @@ void Control::ClearBackground() { Actor self( Self() ); mImpl->mBackgroundVisual.RemoveAndReset( self ); + mImpl->mBackgroundColor = Color::TRANSPARENT; } void Control::EnableGestureDetection(Gesture::Type type)