diff --git a/loader/src/hooks/MenuLayer.cpp b/loader/src/hooks/MenuLayer.cpp index 3b82c54b..52eb5e3c 100644 --- a/loader/src/hooks/MenuLayer.cpp +++ b/loader/src/hooks/MenuLayer.cpp @@ -75,6 +75,7 @@ struct CustomMenuLayer : Modify { this->fixSocialMenu(); + //this code doesnt run have fun figuring out why idc enough if (auto node = this->getChildByID("settings-gamepad-icon")) { node->setPositionX( bottomMenu->getChildByID("settings-button")->getPositionX() + winSize.width / 2 diff --git a/loader/src/ids/MenuLayer.cpp b/loader/src/ids/MenuLayer.cpp index d5e8cf0d..233a4e32 100644 --- a/loader/src/ids/MenuLayer.cpp +++ b/loader/src/ids/MenuLayer.cpp @@ -46,6 +46,11 @@ $register_ids(MenuLayer) { } setIDSafe(this, labelOffset++, "player-username"); + + if(auto node = this->getChildByID("settings-gamepad-icon")) { + // hide it until someone figures out how to bind the positioning to the actual button + node->setVisible(false); + } // main menu if (auto menu = this->getChildByType(0)) {