mirror of
https://github.com/ppy/osu.git
synced 2026-05-28 11:10:23 +08:00
Improve comments
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user