Signed-off-by: Syed Khaja Moinuddin <moinuddin.s@samsung.com>
Change-Id: I780bbabdd17a6908f52c22e1e733d91112c701cd
Signed-off-by: Syed Khaja Moinuddin <moinuddin.s@samsung.com>
if (pListBaseImpl)
{
- Color bgColor;
+ Color bgColor(0, 0, 0, 0);
if (__pressedState == true)
{
else
{
bgColor = pListBaseImpl->GetBackgroundColor();
- Color defaultColor(0, 0, 0, 0);
- _ContainerImpl* pParent = null;
-
- while (bgColor == defaultColor)
- {
- pParent = pListBaseImpl->GetParent();
-
- if (pParent)
- {
- bgColor = pParent->GetBackgroundColor();
- }
- else
- {
- break;
- }
- }
}
pCanvas->SetBackgroundColor(bgColor);