mirror of https://github.com/axmolengine/axmol.git
fix CCControl::registerWithTouchDispatcher()
This commit is contained in:
parent
ce424a9e1b
commit
76e247fb9a
|
@ -99,7 +99,7 @@ CCControl::~CCControl()
|
|||
//Menu - Events
|
||||
void CCControl::registerWithTouchDispatcher()
|
||||
{
|
||||
CCDirector::sharedDirector()->getTouchDispatcher()->addTargetedDelegate(this, m_nDefaultTouchPriority, true);
|
||||
CCDirector::sharedDirector()->getTouchDispatcher()->addTargetedDelegate(this, getTouchPriority, true);
|
||||
}
|
||||
|
||||
void CCControl::onEnter()
|
||||
|
|
Loading…
Reference in New Issue