From f81ed3e4b13e39a6593de5a361f2fdc25d3396a7 Mon Sep 17 00:00:00 2001 From: ANZ1217 Date: Tue, 18 Jun 2024 20:03:44 +0900 Subject: [PATCH] Fix background visual doesn't work properly when cutout Change-Id: I9d22f6237b9217e87f82b551f8eae55e5305ef28 --- dali-toolkit/internal/controls/text-controls/text-label-impl.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dali-toolkit/internal/controls/text-controls/text-label-impl.cpp b/dali-toolkit/internal/controls/text-controls/text-label-impl.cpp index 5af0fe1..b09994f 100644 --- a/dali-toolkit/internal/controls/text-controls/text-label-impl.cpp +++ b/dali-toolkit/internal/controls/text-controls/text-label-impl.cpp @@ -611,12 +611,6 @@ void TextLabel::SetProperty(BaseObject* object, Property::Index index, const Pro const bool cutout = value.Get(); 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; } } -- 2.7.4