Closed totallyeviljake closed 10 years ago
CCControlSwitch, look at the initWithMaskSprite code and you will see that it sets the control switch content size to be the size of the texture. This is not correct. It should be using the maskSprite.ContentSize instead.
CCControlSwitch, look at the initWithMaskSprite code and you will see that it sets the control switch content size to be the size of the texture. This is not correct. It should be using the maskSprite.ContentSize instead.