File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed
Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change 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+ // };
You can’t perform that action at this time.
0 commit comments