mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 01:45:35 -05:00
fix blue view spacing
This commit is contained in:
parent
dd806e0532
commit
ac74e056cf
1 changed files with 3 additions and 3 deletions
|
@ -311,9 +311,6 @@ bool ModCell::init(
|
||||||
auto viewSpr = ButtonSprite::create("View", "bigFont.fnt", "GJ_button_01.png", .8f);
|
auto viewSpr = ButtonSprite::create("View", "bigFont.fnt", "GJ_button_01.png", .8f);
|
||||||
viewSpr->setScale(.65f);
|
viewSpr->setScale(.65f);
|
||||||
|
|
||||||
auto viewBtn = CCMenuItemSpriteExtra::create(viewSpr, this, menu_selector(ModCell::onInfo));
|
|
||||||
m_menu->addChild(viewBtn);
|
|
||||||
|
|
||||||
if (m_mod->isEnabled()) {
|
if (m_mod->isEnabled()) {
|
||||||
auto latestIndexItem = Index::get()->getMajorItem(
|
auto latestIndexItem = Index::get()->getMajorItem(
|
||||||
mod->getMetadata().getID()
|
mod->getMetadata().getID()
|
||||||
|
@ -335,6 +332,9 @@ bool ModCell::init(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto viewBtn = CCMenuItemSpriteExtra::create(viewSpr, this, menu_selector(ModCell::onInfo));
|
||||||
|
m_menu->addChild(viewBtn);
|
||||||
}
|
}
|
||||||
|
|
||||||
this->updateState();
|
this->updateState();
|
||||||
|
|
Loading…
Reference in a new issue