do not change anchor point of child.

This commit is contained in:
lite3 2013-10-22 11:30:53 +08:00
parent 6a10910ff3
commit c6f9f0e406
1 changed files with 0 additions and 2 deletions

View File

@ -469,8 +469,6 @@ void ScrollView::updateInset()
*/
void ScrollView::addChild(Node * child, int zOrder, int tag)
{
child->ignoreAnchorPointForPosition(false);
child->setAnchorPoint(Point(0.0f, 0.0f));
if (_container != child) {
_container->addChild(child, zOrder, tag);
} else {