Why modal layer touch is disabled in cocos2d-x?


#1

CCTouchDispatcher::touches(CCSet pTouches, CCEventpEvent, unsigned int uIndex) is so weird.

all layer can get touch priority even if layer is not have a content Size and Rect.

where I have a get Rect for touch in target layer?

sometimes I think cocos2d-x can’t make a modal layer with touch.