diff --git a/cocos2d-ui/CCScrollView.m b/cocos2d-ui/CCScrollView.m index 9c7c7407cf6..ec11a667627 100644 --- a/cocos2d-ui/CCScrollView.m +++ b/cocos2d-ui/CCScrollView.m @@ -114,7 +114,9 @@ -(void) update: (CCTime) t float y = node.position.y; node.position = ccp(x,y); - block(); + if (node.position.x == _endPosition) { + block(); + } } @end @@ -154,7 +156,9 @@ -(void) update: (CCTime) t float x = node.position.x; node.position = ccp(x,y); - block(); + if (node.position.y == _endPosition) { + block(); + } } @end