diff --git a/cocos/ui/UIPageViewIndicator.cpp b/cocos/ui/UIPageViewIndicator.cpp index af8c033bbd..7135bb3571 100644 --- a/cocos/ui/UIPageViewIndicator.cpp +++ b/cocos/ui/UIPageViewIndicator.cpp @@ -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); }