mirror of
https://github.com/geode-sdk/geode.git
synced 2025-07-29 15:40:06 -04:00
fix MenuLayer bottom-menu content size
This commit is contained in:
parent
3eeb16ba31
commit
f9473e7394
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue