From ace1e9d5637c73bd5473c47db588c9e5c8d2e4ef Mon Sep 17 00:00:00 2001 From: Shane Smit Date: Thu, 21 Jan 2016 11:18:52 -0700 Subject: [PATCH] Fixed variable rename to _autoScrollTotalTime --- cocos/ui/UIScrollView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/ui/UIScrollView.cpp b/cocos/ui/UIScrollView.cpp index a87f9a6109..36f4d4861f 100644 --- a/cocos/ui/UIScrollView.cpp +++ b/cocos/ui/UIScrollView.cpp @@ -472,7 +472,7 @@ void ScrollView::stopAutoScroll() { _autoScrolling = false; _autoScrollAttenuate = true; - _autoScrollDuration = 0; + _autoScrollTotalTime = 0; _autoScrollAccumulatedTime = 0; }