Skip to content

Commit 9f9ad51

Browse files
committed
temp removed UIPOptionsLayer
1 parent d016fcc commit 9f9ad51

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/modify/UIPOptionsLayer.cpp

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
#include "../SwelvyBG.hpp"
2-
#include <Geode/Geode.hpp>
3-
#include <Geode/modify/UIPOptionsLayer.hpp>
1+
// #include "../SwelvyBG.hpp"
2+
// #include <Geode/Geode.hpp>
3+
// #include <Geode/modify/UIPOptionsLayer.hpp>
44

5-
using namespace geode::prelude;
5+
// using namespace geode::prelude;
66

7-
class $modify(MyUIPOptionsLayer, UIPOptionsLayer) {
8-
bool init() {
9-
if (!UIPOptionsLayer::init()) {
10-
return false;
11-
}
12-
if (Mod::get()->getSettingValue<bool>("show-control-settings")){
13-
this->setOpacity(0);
14-
auto swelvyBG = SwelvyBG::create();
15-
swelvyBG->setZOrder(-3);
16-
swelvyBG->setID("swelvy-background");
7+
// class $modify(MyUIPOptionsLayer, UIPOptionsLayer) {
8+
// bool init() {
9+
// if (!UIPOptionsLayer::init()) {
10+
// return false;
11+
// }
12+
// if (Mod::get()->getSettingValue<bool>("show-control-settings")){
13+
// this->setOpacity(0);
14+
// auto swelvyBG = SwelvyBG::create();
15+
// swelvyBG->setZOrder(-3);
16+
// swelvyBG->setID("swelvy-background");
1717

18-
this->addChild(swelvyBG);
19-
}
20-
return true;
21-
}
22-
};
18+
// this->addChild(swelvyBG);
19+
// }
20+
// return true;
21+
// }
22+
// };

0 commit comments

Comments
 (0)