Merge pull request #15963 from Drakon-Cocos/PageViewIndicator

Fix PageViewIndicator opacity for 'inactive' pages
This commit is contained in:
minggo 2016-07-28 14:44:35 +08:00 committed by GitHub
commit 57e4963502
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}