ccTouchDeletateAllBit -> ccTouchDelegateAllBit. I met this typo 3 days ago, then miss it. Thanks to Isaac Ashdown.

This commit is contained in:
Walzer 2011-04-27 22:45:54 +08:00
parent b3f76a81a4
commit fa43292250
2 changed files with 119 additions and 119 deletions

View File

@ -34,7 +34,7 @@ typedef enum
{
ccTouchDelegateStandardBit = 1 << 0,
ccTouchDelegateTargetedBit = 1 << 1,
ccTouchDeletateAllBit = (ccTouchDelegateStandardBit | ccTouchDelegateTargetedBit),
ccTouchDelegateAllBit = (ccTouchDelegateStandardBit | ccTouchDelegateTargetedBit),
} ccTouchDelegateFlag;
class CCTouch;

View File

@ -38,7 +38,7 @@ CCLayer::CCLayer()
,m_bIsAccelerometerEnabled(false)
,m_bIsKeypadEnabled(false)
{
m_eTouchDelegateType = ccTouchDeletateAllBit;
m_eTouchDelegateType = ccTouchDelegateAllBit;
m_tAnchorPoint = ccp(0.5f, 0.5f);
m_bIsRelativeAnchorPoint = false;
}