mirror of https://github.com/axmolengine/axmol.git
Fix bug: CCControl's touch priority is not set correctly; m_nDefaultTouchPriority is never used;
This commit is contained in:
parent
636f07a43f
commit
9144946176
|
@ -77,7 +77,7 @@ bool CCControl::init()
|
|||
|
||||
// Set the touch dispatcher priority by default to 1
|
||||
setDefaultTouchPriority(1);
|
||||
this->setDefaultTouchPriority(m_nDefaultTouchPriority);
|
||||
this->setTouchPriority(m_nDefaultTouchPriority);
|
||||
// Initialise the tables
|
||||
m_pDispatchTable = new CCDictionary();
|
||||
|
||||
|
|
Loading…
Reference in New Issue