Merge pull request #1841 from ivzave/tran_split_fix

repair CCTransitionSplitCols & CCTransitionSplitRows
This commit is contained in:
minggo 2013-01-14 18:29:20 -08:00
commit 5251fcb25d
1 changed files with 2 additions and 2 deletions

View File

@ -1444,7 +1444,7 @@ void CCTransitionSplitCols::onEnter()
CCActionInterval* CCTransitionSplitCols:: action()
{
return CCSplitCols::create(3, m_fDuration/2.0f);
return CCSplitCols::create(m_fDuration/2.0f, 3);
}
@ -1467,7 +1467,7 @@ CCTransitionSplitRows::~CCTransitionSplitRows()
CCActionInterval* CCTransitionSplitRows::action()
{
return CCSplitRows::create(3, m_fDuration/2.0f);
return CCSplitRows::create(m_fDuration/2.0f, 3);
}
CCTransitionSplitRows* CCTransitionSplitRows::create(float t, CCScene* scene)