mirror of https://github.com/axmolengine/axmol.git
Merge pull request #13975 from zilongshanren/fixIssue11259
don't change Text's dimension when label scale.
This commit is contained in:
commit
eec67ea13b
|
@ -309,7 +309,6 @@ void Text::labelScaleChangedWithSize()
|
|||
{
|
||||
if (_ignoreSize)
|
||||
{
|
||||
_labelRenderer->setDimensions(0,0);
|
||||
_labelRenderer->setScale(1.0f);
|
||||
_normalScaleValueX = _normalScaleValueY = 1.0f;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue