Skip to content

Commit

Permalink
fix SetGroupIDLayer next free and add buttons not being aligned
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Feb 15, 2024
1 parent 4dd592d commit 9e696d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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.5.0",
"version": "v1.5.1",
"id": "geode.node-ids",
"name": "Node IDs",
"developer": "Geode Team",
Expand Down
4 changes: 2 additions & 2 deletions src/SetGroupIDLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ static void offsetChildren(CCMenu* target, CCPoint const& offset) {
RowLayout::create(),
menu->getChildByID("next-free-button")
);
nextFreeMenu->setPosition(winSize.width / 2 - 125, winSize.height / 2 + 45);
nextFreeMenu->setPosition(winSize.width / 2 - 125, winSize.height / 2 + 40);
nextFreeMenu->setContentSize({ 120, 60 });
nextFreeMenu->updateLayout();

Expand All @@ -202,7 +202,7 @@ static void offsetChildren(CCMenu* target, CCPoint const& offset) {
menu->getChildByID("add-group-id-button"),
menu->getChildByID("add-group-parent-button")
);
addGroupMenu->setPosition(winSize.width / 2 + 125, winSize.height / 2 + 45);
addGroupMenu->setPosition(winSize.width / 2 + 125, winSize.height / 2 + 40);
addGroupMenu->setContentSize({ 120, 60 });
addGroupMenu->updateLayout();

Expand Down

0 comments on commit 9e696d5

Please sign in to comment.