Skip to content

Commit

Permalink
3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Naxrin authored Jan 29, 2025
1 parent 0652fad commit 42f2ccf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class $modify(EditLevelLayer) {
auto menu = CCMenu::create();
menu->setID("garage-menu");
float offset = Mod::get()->getSettingValue<double>("offset");
menu->setPosition(winSize.width - 142.f + offset, winSize.height - 25.f);
menu->setPosition(winSize.width - 85.f + offset, winSize.height - 25.f);
this->addChild(menu);

// button
Expand All @@ -27,7 +27,7 @@ class $modify(EditLevelLayer) {
menu_selector(LevelInfoLayer::onGarage));
btn->m_animationType = MenuAnimationType::Move;
btn->m_startPosition = CCPoint(18.875, 35.25);
btn->m_offset = CCPoint(0.2, 0.2);
btn->m_offset = CCPoint(0.f, -8.f);
menu->addChild(btn);

// transparent
Expand Down Expand Up @@ -55,7 +55,7 @@ class $modify(LevelSelectLayer) {
auto menu = CCMenu::create();
menu->setID("garage-menu");
float offset = Mod::get()->getSettingValue<double>("offset");
menu->setPosition(winSize.width - 142.f + offset, winSize.height - 25.f);
menu->setPosition(winSize.width - 85.f + offset, winSize.height - 25.f);
this->addChild(menu);

// button
Expand All @@ -67,7 +67,7 @@ class $modify(LevelSelectLayer) {
menu_selector(LevelInfoLayer::onGarage));
btn->m_animationType = MenuAnimationType::Move;
btn->m_startPosition = CCPoint(18.875, 35.25);
btn->m_offset = CCPoint(0.2, 0.2);
btn->m_offset = CCPoint(0.f, -8.f);
menu->addChild(btn);

return true;
Expand Down

0 comments on commit 42f2ccf

Please sign in to comment.