fix MenuLayer bottom-menu content size

This commit is contained in:
Fleeym 2024-02-07 19:30:51 +02:00
parent 3eeb16ba31
commit f9473e7394

View file

@ -87,6 +87,7 @@ struct CustomMenuLayer : Modify<CustomMenuLayer, MenuLayer> {
);
btn->setID("geode-button"_spr);
bottomMenu->addChild(btn);
bottomMenu->setContentSize({ winSize.width / 2, bottomMenu->getScaledContentSize().height });
bottomMenu->updateLayout();