Skip to content

Commit

Permalink
change text alignment algo once again
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Jun 22, 2023
1 parent fc887e0 commit cefa2e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,13 @@ void BetterInfo::reloadUsernames(LevelBrowserLayer* levelBrowserLayer) {
//auto newLayer

auto listLayer = getChildOfType<GJListLayer>(levelBrowserLayer, 0);
if(!listLayer) return;
auto listView = getChildOfType<CustomListView>(listLayer, 0);
if(!listView) return;
auto tableView = getChildOfType<TableView>(listView, 0);
if(!tableView) return;
auto contentLayer = getChildOfType<CCContentLayer>(tableView, 0);
if(!contentLayer) return;
auto children = CCArrayExt<CCNode>(contentLayer->getChildren());

for(auto& child : children) {
Expand Down

0 comments on commit cefa2e7

Please sign in to comment.