Skip to content

Commit

Permalink
Fix bad 'top-right-menu' placement in MenuLayer (Node IDs) (#1103)
Browse files Browse the repository at this point in the history
* Fix bad 'top-right-menu' placement in MenuLayer (Node IDs)

* Adjust height positioning by 10.f
  • Loading branch information
Capeling authored Oct 2, 2024
1 parent 67f59e7 commit 6d2557b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/src/ids/MenuLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ using namespace geode::node_ids;
// but prolly a place mods want to add stuff

auto topRightMenu = CCMenu::create();
topRightMenu->setPosition(winSize.width - 200.f / 2, winSize.height - 50.f / 2);
topRightMenu->setPosition(winSize.width - 210.f / 2, winSize.height - 50.f / 2);
topRightMenu->setID("top-right-menu");
topRightMenu->setContentSize({ 200.f, 50.f });
topRightMenu->setLayout(
Expand Down

0 comments on commit 6d2557b

Please sign in to comment.