remove else clause

Removing the else clause cause BMFont cannot set its font size
This commit is contained in:
Felix J 2015-05-25 12:48:56 +07:00
parent 9c264ab64b
commit 219d8193c4
1 changed files with 0 additions and 5 deletions

View File

@ -795,11 +795,6 @@ void Button::setTitleFontSize(float size)
config.fontSize = size;
_titleRenderer->setTTFConfig(config);
}
else
{
// BMFont can't set its font size
size = _fontSize;
}
updateContentSize();
_fontSize = size;
}