Skip to content

Commit

Permalink
Moved buttons for locked icons menu (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouca committed Oct 21, 2024
1 parent 8a4062d commit 4edb067
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Styles/IconLockColors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class IconLockColors {
child,
menu_selector(IconLockColors::onP1)
);
p1Btn->setPosition(73, 183);
p1Btn->setPosition(-128, -1);
child->m_buttonMenu->addChild(p1Btn);

auto p2Spr = CCSprite::createWithSpriteFrameName("GJ_checkOff_001.png");
Expand All @@ -103,7 +103,7 @@ class IconLockColors {
child,
menu_selector(IconLockColors::onP2)
);
p2Btn->setPosition(101, 183);
p2Btn->setPosition(-99, -1);
child->m_buttonMenu->addChild(p2Btn);

auto glowSpr = CCSprite::createWithSpriteFrameName("GJ_checkOff_001.png");
Expand All @@ -117,7 +117,7 @@ class IconLockColors {
child,
menu_selector(IconLockColors::onGlow)
);
glowBtn->setPosition(129, 183);
glowBtn->setPosition(-69, -1);
child->m_buttonMenu->addChild(glowBtn);
}
}
Expand Down

0 comments on commit 4edb067

Please sign in to comment.