diff --git a/extensions/GUI/CCScrollView/CCScrollView.cpp b/extensions/GUI/CCScrollView/CCScrollView.cpp index be3be450e8..6389316673 100644 --- a/extensions/GUI/CCScrollView/CCScrollView.cpp +++ b/extensions/GUI/CCScrollView/CCScrollView.cpp @@ -611,7 +611,7 @@ bool ScrollView::onTouchBegan(Touch* touch, Event* event) return false; } - if (std::find(_touches.begin(), _touches.end(), touch) != _touches.end()) + if (std::find(_touches.begin(), _touches.end(), touch) == _touches.end()) { _touches.push_back(touch); }