Projects > cpp > Issues > Bug #4502

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Tag problem when using CCMenuItemToggle

Bug #4502 [Closed]
lino2 2014-03-21 10:39 . Updated about 2 years ago

Hi, I notice a bug with CCMenuItemToggle.

If I set a tag to CCMenuItem before creating the CCMenuItemToggle, the tag will change after CCMenuItemToggle is created.

if I save the tags before and try to get the tag in callback, all CCMenuItems have same tag so I can't differentiate which CCMenuItem is active right now.

Is this how the CCMenuItemToggle supposed to work? 2014-10-08 02:59

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to

Atom PDF

Start date:2014-03-21
Due date:
% Done:


Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.