Skip to content

Commit f87aa00

Browse files
committed
use different sprite
1 parent acd1614 commit f87aa00

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/ui/SongListLayer.cpp

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ bool SongListLayer::setup(const std::string&) {
183183
searchButton->setID("song-list-search-button"_spr);
184184
searchBarMenu->addChild(searchButton);
185185

186-
CCMenuItemSpriteExtra* clearButton = geode::cocos::CCMenuItemExt::createSpriteExtraWithFrameName("GJ_editHSVBtn2_001.png", 0.7f, [this](auto) {
186+
CCMenuItemSpriteExtra* clearButton = geode::cocos::CCMenuItemExt::createSpriteExtraWithFrameName("gj_findBtnOff_001.png", 0.7f, [this](auto) {
187187
CCNode* searchBar = GET_SEARCH_BAR_NODE;
188188
if (!searchBar || (searchBar->getTag() == -1 && GET_SEARCH_STRING.empty())) return;
189189
EMPTY_SEARCH_STRG
@@ -194,17 +194,6 @@ bool SongListLayer::setup(const std::string&) {
194194
clearButton->setID("song-list-clear-button"_spr);
195195
searchBarMenu->addChild(clearButton);
196196

197-
cocos2d::CCSprite* coverItUpSquare = cocos2d::CCSprite::createWithSpriteFrameName("pixelart_base_001.png");
198-
coverItUpSquare->setColor({155, 154, 155});
199-
coverItUpSquare->setScale(16.f);
200-
coverItUpSquare->setID("dont-tell-people-that-my-parent-is-an-edit-hsv-button-lmao"_spr);
201-
clearButton->addChildAtPosition(coverItUpSquare, geode::Anchor::Center);
202-
203-
cocos2d::CCSprite* coverItUpX = cocos2d::CCSprite::createWithSpriteFrameName("GJ_deleteIcon_001.png");
204-
coverItUpX->setScale(.6f);
205-
coverItUpX->setID("dont-tell-people-that-im-not-actually-a-delete-button-lmao"_spr);
206-
clearButton->addChildAtPosition(coverItUpX, geode::Anchor::Center);
207-
208197
geode::TextInput* searchBar = geode::TextInput::create(370.f, fmt::format("Search... (Current Song: {})", songManager.getCurrentSongDisplayName()));
209198
searchBar->setCommonFilter(geode::CommonFilter::Any);
210199
searchBar->setTextAlign(geode::TextInputAlign::Left);

0 commit comments

Comments
 (0)