Skip to content

Commit

Permalink
use setupPageInfo as entry point for LevelBrowserLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Aug 24, 2023
1 parent 5e9860d commit 7620446
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/LevelBrowserLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ class $modify(BILevelBrowserLayer, LevelBrowserLayer) {
/*
* Hooks
*/
void updateLevelsLabel() {
void setupPageInfo(gd::string a1, const char* a2) {
//TODO: utilize geode layout system (needs modifications in loader to make the layout in the first place)
LevelBrowserLayer::updateLevelsLabel();
LevelBrowserLayer::setupPageInfo(a1, a2);

if(this->m_itemCount == 9999 || BetterInfo::isFalseTotal(this->m_searchObject)) this->m_rightArrow->setVisible(true);

Expand Down

0 comments on commit 7620446

Please sign in to comment.