Skip to content

Commit

Permalink
Merge branch 'v1.2.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Feb 6, 2024
2 parents 4d6a9d9 + 642498b commit ce2ca94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"android": "2.205",
"mac": "2.200"
},
"version": "v1.2.3",
"version": "v1.2.4",
"id": "geode.node-ids",
"name": "Node IDs",
"developer": "Geode Team",
Expand Down
4 changes: 3 additions & 1 deletion src/ProfilePage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ struct ProfilePageIDs : Modify<ProfilePageIDs, ProfilePage> {
playerMenu->setContentSize({340, 35});
playerMenu->updateLayout();
playerMenu->setZOrder(10);

m_buttons->addObject(playerMenu);

size_t socialMediaCount = 0;
if(!m_score->m_youtubeURL.empty()) {
Expand Down Expand Up @@ -307,6 +307,7 @@ struct ProfilePageIDs : Modify<ProfilePageIDs, ProfilePage> {
bottomMenu->setPositionX(winSize.width / 2);
bottomMenu->setContentSize({164, 35});
bottomMenu->updateLayout();
m_buttons->addObject(bottomMenu);

//only allow featured levels calls setVisible so we're safe here
static_cast<CCNode*>(m_buttons->objectAtIndex(idx++))->setID("my-levels-button");
Expand All @@ -333,6 +334,7 @@ struct ProfilePageIDs : Modify<ProfilePageIDs, ProfilePage> {
bottomMenu->setPositionX(winSize.width / 2);
bottomMenu->setContentSize({340, 35});
bottomMenu->updateLayout();
m_buttons->addObject(bottomMenu);
}

if(auto statsMenu = m_mainLayer->getChildByID("stats-menu")) {
Expand Down

0 comments on commit ce2ca94

Please sign in to comment.