remove unused code

This commit is contained in:
andyque 2015-01-27 10:17:41 +08:00
parent 398f0b861d
commit 7b81f3a811
1 changed files with 2 additions and 8 deletions

View File

@ -449,16 +449,10 @@ void Button::onPressStateChangedToPressed()
_buttonNormalRenderer->setScale(_pressedTextureScaleXInSize + _zoomScale, _pressedTextureScaleYInSize + _zoomScale);
_titleRenderer->stopAllActions();
Action *zoomTitleAction = ScaleTo::create(ZOOM_ACTION_TIME_STEP, 1.0f + _zoomScale, 1.0f + _zoomScale);
if (_unifySize)
{
_titleRenderer->runAction(zoomTitleAction);
}
else
{
_titleRenderer->runAction(zoomTitleAction->clone());
}
}
}
else
{