From 1193f2450ec5c0b1d839320834c56545607d7cf6 Mon Sep 17 00:00:00 2001 From: Bowon Ryu Date: Thu, 20 Jun 2024 13:43:24 +0900 Subject: [PATCH] Remove unnecessary logic from async auto scroll Change-Id: I50fc0d5b1e4e0e4cdee777796f259f27dc530558 Signed-off-by: Bowon Ryu --- dali-toolkit/internal/text/text-scroller.cpp | 9 --------- 1 file changed, 9 deletions(-) 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) -- 2.7.4