mirror of https://github.com/axmolengine/axmol.git
ccTouchDeletateAllBit -> ccTouchDelegateAllBit. I met this typo 3 days ago, then miss it. Thanks to Isaac Ashdown.
This commit is contained in:
parent
b3f76a81a4
commit
fa43292250
|
@ -34,7 +34,7 @@ typedef enum
|
||||||
{
|
{
|
||||||
ccTouchDelegateStandardBit = 1 << 0,
|
ccTouchDelegateStandardBit = 1 << 0,
|
||||||
ccTouchDelegateTargetedBit = 1 << 1,
|
ccTouchDelegateTargetedBit = 1 << 1,
|
||||||
ccTouchDeletateAllBit = (ccTouchDelegateStandardBit | ccTouchDelegateTargetedBit),
|
ccTouchDelegateAllBit = (ccTouchDelegateStandardBit | ccTouchDelegateTargetedBit),
|
||||||
} ccTouchDelegateFlag;
|
} ccTouchDelegateFlag;
|
||||||
|
|
||||||
class CCTouch;
|
class CCTouch;
|
||||||
|
|
|
@ -38,7 +38,7 @@ CCLayer::CCLayer()
|
||||||
,m_bIsAccelerometerEnabled(false)
|
,m_bIsAccelerometerEnabled(false)
|
||||||
,m_bIsKeypadEnabled(false)
|
,m_bIsKeypadEnabled(false)
|
||||||
{
|
{
|
||||||
m_eTouchDelegateType = ccTouchDeletateAllBit;
|
m_eTouchDelegateType = ccTouchDelegateAllBit;
|
||||||
m_tAnchorPoint = ccp(0.5f, 0.5f);
|
m_tAnchorPoint = ccp(0.5f, 0.5f);
|
||||||
m_bIsRelativeAnchorPoint = false;
|
m_bIsRelativeAnchorPoint = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue