Revert animations and apply suggested changes

This commit is contained in:
Andrei Zavatski
2019-07-09 17:38:17 +03:00
parent bdcdb3a7a6
commit 9907a58ec4
5 changed files with 45 additions and 119 deletions

View File

@ -28,7 +28,12 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
private readonly SpriteText date;
private readonly UpdateableFlag flag;
public TopScoreUserSection(int position)
public int ScorePosition
{
set => rankText.Text = $"#{value}";
}
public TopScoreUserSection()
{
AutoSizeAxes = Axes.Both;
@ -52,7 +57,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Text = $"#{position.ToString()}",
Text = $"#1",
Font = OsuFont.GetFont(size: 30, weight: FontWeight.Bold, italics: true)
},
rank = new UpdateableRank(ScoreRank.D)