Fix background visual doesn't work properly when cutout 49/313049/1
authorANZ1217 <chihun.jeong@samsung.com>
Tue, 18 Jun 2024 11:03:44 +0000 (20:03 +0900)
committerANZ1217 <chihun.jeong@samsung.com>
Tue, 18 Jun 2024 11:03:44 +0000 (20:03 +0900)
Change-Id: I9d22f6237b9217e87f82b551f8eae55e5305ef28

dali-toolkit/internal/controls/text-controls/text-label-impl.cpp

index 5af0fe153b6d7f7d259e92bd7dda4830842fa89f..b09994f7713c21b2aaeba50e739262000d8f623d 100644 (file)
@@ -611,12 +611,6 @@ void TextLabel::SetProperty(BaseObject* object, Property::Index index, const Pro
         const bool cutout = value.Get<bool>();
 
         impl.mController->SetTextCutout(cutout);
-
-        // Property doesn't affect the layout, only Visual must be updated
-        TextVisual::EnableRendererUpdate(impl.mVisual);
-
-        // No need to trigger full re-layout. Instead call UpdateRenderer() directly
-        TextVisual::UpdateRenderer(impl.mVisual);
         break;
       }
     }