Seperate UpdateableRank from DrawableRank and use it

This commit is contained in:
KingLuigi4932
2019-06-17 20:04:09 +03:00
parent 0c299d651f
commit 794ba17a2f
8 changed files with 30 additions and 32 deletions

View File

@ -59,7 +59,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
modsContainer.Add(new ModIcon(mod) { Scale = new Vector2(0.5f) });
}
protected override Drawable CreateLeftVisual() => new DrawableRank(Score.Rank)
protected override Drawable CreateLeftVisual() => new UpdateableRank(Score.Rank)
{
RelativeSizeAxes = Axes.Y,
Width = 60,