Skip to content

Commit 8adb85c

Browse files
committed
fix
1 parent 9968ce6 commit 8adb85c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/layers/MathQuiz.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ bool MathQuiz::init() {
7474
CCScale9Sprite* topScaleSprite = CCScale9Sprite::create("square02b_001.png");
7575
topScaleSprite->ignoreAnchorPointForPosition(true);
7676
topScaleSprite->setScaledContentSize(topMenuLayer->getScaledContentSize());
77-
topScaleSprite->setColor(ccColor3B(6, 2, 32));
77+
topScaleSprite->setColor({ 6, 2, 32 });
7878
topScaleSprite->setOpacity(155);
7979

8080
topMenuLayer->addChild(topScaleSprite);

src/layers/MathQuiz.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class MathQuiz : public CCLayer {
88
protected:
99
TextInput* m_answerInput = nullptr; // Answer gets typed out here
1010

11-
bool init();
11+
bool init() override;
1212

1313
void keyBackClicked() override;
1414
void onGoBack(CCObject*);

0 commit comments

Comments
 (0)