From bf45edeed5329ff7628c7606ae7676dc21881519 Mon Sep 17 00:00:00 2001 From: James Chen Date: Sun, 9 Sep 2012 22:37:32 +0800 Subject: [PATCH] Reverted one line code. --- extensions/CCBReader/CCScrollViewLoader.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/extensions/CCBReader/CCScrollViewLoader.cpp b/extensions/CCBReader/CCScrollViewLoader.cpp index b5c4a8830e..b61622dd1c 100644 --- a/extensions/CCBReader/CCScrollViewLoader.cpp +++ b/extensions/CCBReader/CCScrollViewLoader.cpp @@ -31,7 +31,6 @@ void CCScrollViewLoader::onHandlePropTypeCheck(CCNode * pNode, CCNode * pParent, void CCScrollViewLoader::onHandlePropTypeCCBFile(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, CCNode * pCCBFileNode, CCBReader * pCCBReader) { if(pPropertyName->compare(PROPERTY_CONTAINER) == 0) { ((CCScrollView *)pNode)->setContainer(pCCBFileNode); - ((CCScrollView *)pNode)->setViewSize(CCSizeMake(240, 320)); } else { CCNodeLoader::onHandlePropTypeCCBFile(pNode, pParent, pPropertyName, pCCBFileNode, pCCBReader); }