mirror of https://github.com/axmolengine/axmol.git
[dispatcher] Comments self->setTouchPriority. Need to be fixed.
This commit is contained in:
parent
57b0a66bda
commit
3605fce2e3
|
@ -580,7 +580,7 @@ static int tolua_cocos2d_Layer_registerScriptTouchHandler(lua_State* tolua_S)
|
|||
if (!isMultiTouches)
|
||||
touchesMode = Touch::DispatchMode::ONE_BY_ONE;
|
||||
self->setTouchMode(touchesMode);
|
||||
self->setTouchPriority(priority);
|
||||
// self->setTouchPriority(priority);
|
||||
self->setSwallowsTouches(swallowTouches);
|
||||
ScriptHandlerMgr::getInstance()->addObjectHandler((void*)self, handler, ScriptHandlerMgr::HandlerType::TOUCHES);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue