Fix async auto scroll issue
authorBowon Ryu <bowon.ryu@samsung.com>
Thu, 11 Jul 2024 06:33:13 +0000 (15:33 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Thu, 11 Jul 2024 06:33:13 +0000 (15:33 +0900)
when changing size, new async auto scroll rendering is required.

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

index 96afd6a..9518d8f 100644 (file)
@@ -1149,7 +1149,11 @@ void TextLabel::OnPropertySet(Property::Index index, const Property::Value& prop
   {
     case Dali::Actor::Property::SIZE:
     {
-      mIsPropertyUpdated = true;
+      if(mController->GetRenderMode() != DevelTextLabel::Render::SYNC)
+      {
+        mTextUpdateNeeded = true;
+        mIsPropertyUpdated = true;
+      }
       break;
     }
     case Toolkit::TextLabel::Property::TEXT_COLOR: