From: Bowon Ryu Date: Thu, 20 Jun 2024 04:43:24 +0000 (+0900) Subject: Remove unnecessary logic from async auto scroll X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1193f2450ec5c0b1d839320834c56545607d7cf6;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git Remove unnecessary logic from async auto scroll Change-Id: I50fc0d5b1e4e0e4cdee777796f259f27dc530558 Signed-off-by: Bowon Ryu --- diff --git a/dali-toolkit/internal/text/text-scroller.cpp b/dali-toolkit/internal/text/text-scroller.cpp index 69d0144..782365a 100644 --- a/dali-toolkit/internal/text/text-scroller.cpp +++ b/dali-toolkit/internal/text/text-scroller.cpp @@ -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)