Remove update of content size as it won't change

This commit is contained in:
dzl-ian 2014-07-25 15:52:35 +09:00
parent 3ad0d981c4
commit 7048bc515b
1 changed files with 0 additions and 2 deletions

View File

@ -211,8 +211,6 @@ TextVAlignment Text::getTextVerticalAlignment()const
void Text::setTextColor(Color4B color) void Text::setTextColor(Color4B color)
{ {
_labelRenderer->setTextColor(color); _labelRenderer->setTextColor(color);
updateContentSizeWithTextureSize(_labelRenderer->getContentSize());
_labelRendererAdaptDirty = true;
} }
const Color4B& Text::getTextColor()const const Color4B& Text::getTextColor()const