[Dispatcher] Fixing logic errors in CCScrollView after using EventDispatcher.

This commit is contained in:
James Chen 2013-09-12 16:03:03 +08:00
parent b77cac8731
commit 6a2536b5bd
1 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@ bool ScrollView::onTouchBegan(Touch* touch, Event* event)
return false; 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); _touches.push_back(touch);
} }