We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c315f5c commit f03030aCopy full SHA for f03030a
src/ui/SongListLayer.cpp
@@ -379,7 +379,10 @@ bool SongListLayer::setup() {
379
380
songManager.resetTowerRepeatCount();
381
382
- if (SEARCH_BAR_ENABLED) this->schedule(schedule_selector(SongListLayer::displayCurrentSongByLimitingPlaceholderLabelWidthScheduler), .125f);
+ if (SEARCH_BAR_ENABLED && GET_SEARCH_BAR_NODE) {
383
+ SongListLayer::displayCurrentSongByLimitingPlaceholderLabelWidth(static_cast<geode::TextInput*>(GET_SEARCH_BAR_NODE)->getInputNode());
384
+ this->schedule(schedule_selector(SongListLayer::displayCurrentSongByLimitingPlaceholderLabelWidthScheduler), .125f);
385
+ }
386
387
return true;
388
}
0 commit comments