X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fscrollable%2Fitem-view%2Fitem-view-impl.cpp;h=c70b7927e74fd40dc06a921d343cd5b489e742b7;hp=13ab8884104279a8c3ded427bc5df1c6fd2080ea;hb=4f1a814c47a80f11892a6a887cd98099a2eace09;hpb=d9c164e4530e354cd14dc4a1a658070ba55e99b8 diff --git a/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.cpp b/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.cpp index 13ab888..c70b792 100644 --- a/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.cpp +++ b/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.cpp @@ -1628,7 +1628,10 @@ void ItemView::GetItemsRange(ItemRange& range) void ItemView::OnScrollPositionChanged( float position ) { // Cancel scroll animation to prevent any fighting of setting the scroll position property. - RemoveAnimation(mScrollAnimation); + if(!mRefreshEnabled) + { + RemoveAnimation(mScrollAnimation); + } // Refresh the cache immediately when the scroll position is changed. DoRefresh(position, false); // No need to cache extra items.