We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
CCRect conversion in jsb inconsistency
CCRect conversion in jsb inconsistency
Bug #3065 [Rejected]
cocos2d-x pull request https://github.com/cocos2d/cocos2d-x/pull/4010
cocos2d-js-tests pull request https://github.com/cocos2d/cocos2d-js-tests/pull/231
- Status changed from New to Closed
- Target version changed from Candidate to 3.0-beta
the same issue:http://cocos2d-x.org/issues/3260
CCRects when used through jsb are converted as an object with x/y/width/height properties (in ccrect_to_jsval) but the html5 and c++ api has an ‘origin’ CCPoint property and a ‘size’ CCSize property.