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