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
|
//Menu - Events
|
||||||
void CCControl::registerWithTouchDispatcher()
|
void CCControl::registerWithTouchDispatcher()
|
||||||
{
|
{
|
||||||
CCDirector::sharedDirector()->getTouchDispatcher()->addTargetedDelegate(this, m_nDefaultTouchPriority, true);
|
CCDirector::sharedDirector()->getTouchDispatcher()->addTargetedDelegate(this, getTouchPriority, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCControl::onEnter()
|
void CCControl::onEnter()
|
||||||
|
|
Loading…
Reference in New Issue