From cad670fb31a19f0be363c7c7e9be3eb0b7e322fa Mon Sep 17 00:00:00 2001 From: HJfod <60038575+HJfod@users.noreply.github.com> Date: Sun, 10 Nov 2024 12:20:44 +0200 Subject: [PATCH] hide search toggle --- loader/src/ui/mods/ModsLayer.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/loader/src/ui/mods/ModsLayer.cpp b/loader/src/ui/mods/ModsLayer.cpp index 64985430..b97bd46e 100644 --- a/loader/src/ui/mods/ModsLayer.cpp +++ b/loader/src/ui/mods/ModsLayer.cpp @@ -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));