mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-19 17:39:50 -04:00
fix profile page fix misaligning profiles
This commit is contained in:
parent
005d245351
commit
b44184c081
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ struct CustomProfilePage : Modify<CustomProfilePage, ProfilePage> {
|
|||
GEODE_FORWARD_COMPAT_DISABLE_HOOKS("ProfilePage fix")
|
||||
|
||||
virtual TodoReturn getUserInfoFinished(GJUserScore* info) {
|
||||
ProfilePage::getUserInfoFinished(info);
|
||||
m_usernameLabel->setString(info->m_userName.c_str());
|
||||
m_usernameLabel->limitLabelWidth(info->m_modBadge > 0 ? 140.f : 160.0f, 0.8f, 0.0f);
|
||||
ProfilePage::getUserInfoFinished(info);
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue