We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a768e6 commit e3ccaa6Copy full SHA for e3ccaa6
src/EndLevelLayer.cpp
@@ -14,7 +14,6 @@ using namespace geode::prelude;
14
15
class $modify(MyEndLevelLayer, EndLevelLayer) {
16
void fakeUpdateFunction(float) {
17
- this->setCascadeOpacityEnabled(false);
18
this->setOpacity(managerMacro->backdropOpacity);
19
}
20
CCSprite* getHideButtonSprite() {
@@ -102,6 +101,7 @@ class $modify(MyEndLevelLayer, EndLevelLayer) {
102
101
103
if (const int opacity = std::clamp<int>(getModInt("backdropOpacity"), 0, 255); opacity != 100) {
104
managerMacro->backdropOpacity = opacity;
+ this->setCascadeOpacityEnabled(false);
105
this->schedule(schedule_selector(MyEndLevelLayer::fakeUpdateFunction));
106
107
0 commit comments