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 almost 10 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?

walzer@cocos2d-x.org 2014-10-08 02:59

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

This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8376

Atom PDF

Status:Closed
Start date:2014-03-21
Priority:High
Due date:
Assignee:-
% Done:

0%

Category:all
Target version:-