Remove unnecessary logic from async auto scroll
authorBowon Ryu <bowon.ryu@samsung.com>
Thu, 20 Jun 2024 04:43:24 +0000 (13:43 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Thu, 20 Jun 2024 04:43:24 +0000 (13:43 +0900)
Change-Id: I50fc0d5b1e4e0e4cdee777796f259f27dc530558
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali-toolkit/internal/text/text-scroller.cpp

index 69d0144..782365a 100644 (file)
@@ -282,15 +282,6 @@ void TextScroller::AutoScrollAnimationFinished(Dali::Animation& animation)
   DALI_LOG_INFO(gLogFilter, Debug::Verbose, "TextScroller::AutoScrollAnimationFinished\n");
   mIsStop = false;
   mScrollerInterface.ScrollingFinished();
-
-  // FIXME : Since relayout is called at the start and end of auto scroll,
-  // reverting the shader and texture in the current logic may not make sense.
-  // Revert to the original shader and texture after scrolling
-  mRenderer.SetShader(mShader);
-  if(mTextureSet)
-  {
-    mRenderer.SetTextures(mTextureSet);
-  }
 }
 
 void TextScroller::StartScrolling(Actor scrollingTextActor, float scrollAmount, float scrollDuration, int loopCount)