From b6fa894f81b36acdb1da8bd55099bfe021d7d46b Mon Sep 17 00:00:00 2001 From: Alfonso Grillo Date: Sat, 25 Jun 2016 18:49:13 +0200 Subject: [PATCH] Fix page view indicator opacity for inactive pages --- cocos/ui/UIPageViewIndicator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }