Fix text color update issue 06/324406/1
authorBowon Ryu <bowon.ryu@samsung.com>
Fri, 16 May 2025 09:06:40 +0000 (18:06 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Fri, 16 May 2025 09:06:40 +0000 (18:06 +0900)
The previous async render request condition is only considered if it is false in TEXT_COLOR.

Change-Id: Id691752592c6cbf69b22f29761cf886ed1306ff1
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali-toolkit/internal/controls/text-controls/text-label-impl.cpp

index 0ba288adef949ce2310e2ced7e994632793b2cc7..0c27fadd537a62b03a796e963270b1dcc869ac85 100644 (file)
@@ -1315,7 +1315,7 @@ void TextLabel::OnPropertySet(Property::Index index, const Property::Value& prop
       {
         mController->SetDefaultColor(textColor);
         mTextUpdateNeeded    = true;
-        mIsAsyncRenderNeeded = mController->IsUnderlineEnabled() || mController->IsStrikethroughEnabled();
+        mIsAsyncRenderNeeded = mIsAsyncRenderNeeded ? true : (mController->IsUnderlineEnabled() || mController->IsStrikethroughEnabled());
       }
       break;
     }