mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 07:27:59 -05:00
hide search toggle
This commit is contained in:
parent
efb1fbf729
commit
cad670fb31
1 changed files with 6 additions and 6 deletions
|
@ -465,12 +465,12 @@ bool ModsLayer::init() {
|
||||||
bigSizeBtn->setID("list-size-button");
|
bigSizeBtn->setID("list-size-button");
|
||||||
listActionsMenu->addChild(bigSizeBtn);
|
listActionsMenu->addChild(bigSizeBtn);
|
||||||
|
|
||||||
auto searchBtn = CCMenuItemSpriteExtra::create(
|
// auto searchBtn = CCMenuItemSpriteExtra::create(
|
||||||
GeodeSquareSprite::createWithSpriteFrameName("search.png"_spr, &m_showSearch),
|
// GeodeSquareSprite::createWithSpriteFrameName("search.png"_spr, &m_showSearch),
|
||||||
this, menu_selector(ModsLayer::onSearch)
|
// this, menu_selector(ModsLayer::onSearch)
|
||||||
);
|
// );
|
||||||
searchBtn->setID("search-button");
|
// searchBtn->setID("search-button");
|
||||||
listActionsMenu->addChild(searchBtn);
|
// listActionsMenu->addChild(searchBtn);
|
||||||
|
|
||||||
listActionsMenu->setLayout(ColumnLayout::create());
|
listActionsMenu->setLayout(ColumnLayout::create());
|
||||||
m_frame->addChildAtPosition(listActionsMenu, Anchor::Left, ccp(-5, 25));
|
m_frame->addChildAtPosition(listActionsMenu, Anchor::Left, ccp(-5, 25));
|
||||||
|
|
Loading…
Reference in a new issue