mirror of https://github.com/axmolengine/axmol.git
Merge pull request #7674 from darkdukey/patch-12
Fix opacity for Slider
This commit is contained in:
commit
e43b05955f
|
@ -119,6 +119,8 @@ void Slider::initRenderer()
|
|||
_slidBallRenderer->addChild(_slidBallNormalRenderer);
|
||||
_slidBallRenderer->addChild(_slidBallPressedRenderer);
|
||||
_slidBallRenderer->addChild(_slidBallDisabledRenderer);
|
||||
_slidBallRenderer->setCascadeColorEnabled(true);
|
||||
_slidBallRenderer->setCascadeOpacityEnabled(true);
|
||||
|
||||
addProtectedChild(_slidBallRenderer, SLIDBALL_RENDERER_Z, -1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue