Let me explain my use case,
I have a CCLayer called MenuBar in which i have 2 Layers MainMenuLayer and GameMenuLayer (with the same size and exactly below one another) but just one of them is visible at once,
Each layer has a button, which will change the view of the rest of the screen, and hide itself, and show the other…
Now say I click on GameMenuLayer’s button, now it should hide GameMenuLayer and show MainMenuLayer, which is happening, but when i click again, the GameMenuLayer’s handler is called, but that is not what is expected.
Hao Wu wrote:
I think the current behavior is fine, reason is that you might want to use MenuItem like classes to create zones to listen to touch