diff --git a/extensions/GUI/CCScrollView/CCScrollView.cpp b/extensions/GUI/CCScrollView/CCScrollView.cpp index 39a17a160c..b404d38838 100644 --- a/extensions/GUI/CCScrollView/CCScrollView.cpp +++ b/extensions/GUI/CCScrollView/CCScrollView.cpp @@ -397,7 +397,6 @@ void ScrollView::deaccelerateScrolling(float dt) newX = _container->getPosition().x; newY = _container->getPosition().y; - _scrollDistance = _scrollDistance - Point(newX - _container->getPosition().x, newY - _container->getPosition().y); _scrollDistance = _scrollDistance * SCROLL_DEACCEL_RATE; this->setContentOffset(Point(newX,newY));