fix progress bar render issue when switch scale9

This commit is contained in:
andyque 2015-01-21 13:41:40 +08:00
parent 342d12201b
commit 7f7506fb99
1 changed files with 1 additions and 1 deletions

View File

@ -554,7 +554,7 @@ void Slider::progressBarRendererScaleChangedWithSize()
if (_scale9Enabled)
{
_progressBarRenderer->setPreferredSize(_contentSize);
_progressBarTextureSize = _progressBarRenderer->getContentSize();
_progressBarRenderer->setScale(1.0);
}
else
{