mirror of https://github.com/axmolengine/axmol.git
Merge pull request #15963 from Drakon-Cocos/PageViewIndicator
Fix PageViewIndicator opacity for 'inactive' pages
This commit is contained in:
commit
57e4963502
|
@ -220,7 +220,7 @@ void PageViewIndicator::increaseNumberOfPages()
|
|||
|
||||
indexNode->setColor(_indexNodesColor);
|
||||
indexNode->setScale(_indexNodesScale);
|
||||
// indexNode->setOpacity(255 * 0.3f);
|
||||
indexNode->setOpacity(255 * 0.3f);
|
||||
addProtectedChild(indexNode);
|
||||
_indexNodes.pushBack(indexNode);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue