Skip to content

Commit

Permalink
hide search toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Nov 10, 2024
1 parent efb1fbf commit cad670f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions loader/src/ui/mods/ModsLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,12 +465,12 @@ bool ModsLayer::init() {
bigSizeBtn->setID("list-size-button");
listActionsMenu->addChild(bigSizeBtn);

auto searchBtn = CCMenuItemSpriteExtra::create(
GeodeSquareSprite::createWithSpriteFrameName("search.png"_spr, &m_showSearch),
this, menu_selector(ModsLayer::onSearch)
);
searchBtn->setID("search-button");
listActionsMenu->addChild(searchBtn);
// auto searchBtn = CCMenuItemSpriteExtra::create(
// GeodeSquareSprite::createWithSpriteFrameName("search.png"_spr, &m_showSearch),
// this, menu_selector(ModsLayer::onSearch)
// );
// searchBtn->setID("search-button");
// listActionsMenu->addChild(searchBtn);

listActionsMenu->setLayout(ColumnLayout::create());
m_frame->addChildAtPosition(listActionsMenu, Anchor::Left, ccp(-5, 25));
Expand Down

0 comments on commit cad670f

Please sign in to comment.