mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 11:42:54 +08:00
Improve comments
This commit is contained in:
parent
7b0b39dbaa
commit
a03835bf1c
@ -30,7 +30,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
Content = s.NewValue?.GlobalRank?.ToLocalisableString("\\##,##0") ?? (LocalisableString)"-";
|
||||
}, true);
|
||||
|
||||
// needed as statistics doesn't populate User
|
||||
// needed as `UserStatistics` doesn't populate `User`
|
||||
User.BindValueChanged(u =>
|
||||
{
|
||||
var rankHighest = u.NewValue?.RankHighest;
|
||||
|
@ -167,8 +167,8 @@ namespace osu.Game.Users
|
||||
new GlobalRankDisplay
|
||||
{
|
||||
UserStatistics = { BindTarget = statistics },
|
||||
// TODO: make highest rank update, as api.LocalUser doesn't update
|
||||
// maybe move to statistics in api, so `SoloStatisticsWatcher` can update the value
|
||||
// TODO: make highest rank update, as `api.LocalUser` doesn't update
|
||||
// maybe move to `UserStatistics` in api, so `SoloStatisticsWatcher` can update the value
|
||||
User = { BindTarget = user },
|
||||
},
|
||||
countryRankDisplay = new ProfileValueDisplay(true)
|
||||
|
Loading…
Reference in New Issue
Block a user