We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Different declaration on CCLayerColor::setContentSize
Different declaration on CCLayerColor::setContentSize
Bug #1381 [Closed]
Status: | Closed | |
---|---|---|
Start date: | 2012-07-03 | |
Priority: | Normal | |
Due date: | ||
Assignee: | mustime | |
% Done: | 100% |
|
Category: | all | |
Target version: | cocos2d-2.0-x-2.0.2 |
See this issue https://github.com/cocos2d/cocos2d-x/issues/1079
CCLayerColor::setContentSize(const CCSize& size) didn’t override CCNode::setContentSize(CCSize, size), which is declared as
CC_PROPERTY(CCSize, m_tContentSize, ContentSize)