diff --git a/loader/src/ui/nodes/BasedButtonSprite.cpp b/loader/src/ui/nodes/BasedButtonSprite.cpp index 94472bf17..98fd772d7 100644 --- a/loader/src/ui/nodes/BasedButtonSprite.cpp +++ b/loader/src/ui/nodes/BasedButtonSprite.cpp @@ -201,6 +201,9 @@ bool BasedButtonSprite::init(CCNode* ontop, BaseType type, int size, int color) this->addChild(m_onTop); } + this->setCascadeColorEnabled(true); + this->setCascadeOpacityEnabled(true); + return true; }