From 07cde2b7fadf09b888a5a3afa5bb534dd12badca Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Wed, 10 Aug 2016 14:15:49 +0900 Subject: [PATCH] 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 --- dali-toolkit/public-api/controls/control-impl.cpp | 1 + 1 file changed, 1 insertion(+) 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) -- 2.7.4