Rename DrawableScore

This commit is contained in:
smoogipoo 2019-03-20 17:15:38 +09:00
parent 41d25c7d19
commit f7016e1d2c
3 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ namespace osu.Game.Tests.Visual
{ {
typeof(Header), typeof(Header),
typeof(ClickableUserContainer), typeof(ClickableUserContainer),
typeof(DrawableScore), typeof(ScoreTableScore),
typeof(DrawableTopScore), typeof(DrawableTopScore),
typeof(ScoresContainer), typeof(ScoresContainer),
typeof(AuthorInfo), typeof(AuthorInfo),

View File

@ -47,7 +47,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
int index = 0; int index = 0;
foreach (var s in value) foreach (var s in value)
scoresFlow.Add(new DrawableScore(index++, s, maxModsAmount)); scoresFlow.Add(new ScoreTableScore(index++, s, maxModsAmount));
} }
} }
} }

View File

@ -19,7 +19,7 @@ using osuTK.Graphics;
namespace osu.Game.Overlays.BeatmapSet.Scores namespace osu.Game.Overlays.BeatmapSet.Scores
{ {
public class DrawableScore : Container public class ScoreTableScore : Container
{ {
private const int fade_duration = 100; private const int fade_duration = 100;
private const int text_size = 14; private const int text_size = 14;
@ -27,7 +27,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
private readonly Box hoveredBackground; private readonly Box hoveredBackground;
private readonly Box background; private readonly Box background;
public DrawableScore(int index, APIScoreInfo score, int maxModsAmount) public ScoreTableScore(int index, APIScoreInfo score, int maxModsAmount)
{ {
RelativeSizeAxes = Axes.X; RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y; AutoSizeAxes = Axes.Y;