mirror of https://github.com/axmolengine/axmol.git
fix slider scale9 render
This commit is contained in:
parent
0c8d10b8dd
commit
94e35d8d95
|
@ -367,7 +367,7 @@ void Slider::setPercent(int percent)
|
|||
_slidBallRenderer->setPosition(dis, _contentSize.height / 2.0f);
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
_progressBarRenderer->setPreferredSize(Size(dis,_progressBarTextureSize.height));
|
||||
_progressBarRenderer->setPreferredSize(Size(dis,_contentSize.height));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue