Skip to content

Commit

Permalink
replaced ccc3 constructor with {}
Browse files Browse the repository at this point in the history
  • Loading branch information
OmgRod committed Dec 10, 2024
1 parent d289295 commit 0870b7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GPFeedbackLayer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class GPFeedbackLayer : public CCLayer {
descBg->setContentSize(CCPoint(winSize.width * 0.6, winSize.height * 0.5));
descBg->setID("descBg");
descBg->setZOrder(1);
descBg->setColor(ccColor3B(0, 0, 0));
descBg->setColor({0, 0, 0});
descBg->setOpacity(60);
this->addChild(descBg);

Expand Down
2 changes: 1 addition & 1 deletion src/GPIconSaveLayer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class GPFeedbackLayer : public CCLayer {
descBg->setContentSize(CCPoint(winSize.width * 0.6, winSize.height * 0.5));
descBg->setID("descBg");
descBg->setZOrder(1);
descBg->setColor(ccColor3B(0, 0, 0));
descBg->setColor({0, 0, 0});
descBg->setOpacity(60);
this->addChild(descBg);

Expand Down

0 comments on commit 0870b7f

Please sign in to comment.