cocos2d-x icon indicating copy to clipboard operation
cocos2d-x copied to clipboard

fix position errors

Open woaicandy opened this issue 3 years ago • 0 comments
trafficstars

  1. I used initWithSpriteFrame and spriteFrame->getOffset() is not zero, so _unflippedOffsetPositionFromCenter is not zero.
  2. used initWithFile ,the position will be wrong,because _unflippedOffsetPositionFromCenter is not reset.

woaicandy avatar Mar 10 '22 08:03 woaicandy