mirror of https://github.com/axmolengine/axmol.git
Remove update of content size as it won't change
This commit is contained in:
parent
3ad0d981c4
commit
7048bc515b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue