Player -> User

This commit is contained in:
Dean Herbert 2019-04-03 18:44:19 +09:00
parent a15a9bd03a
commit cb417ebd77
3 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
protected override Drawable CreateAccuracyCell() => new CellText("accuracy"); protected override Drawable CreateAccuracyCell() => new CellText("accuracy");
protected override Drawable CreatePlayerCell() => new CellText("player"); protected override Drawable CreateUserCell() => new CellText("player");
protected override IEnumerable<Drawable> CreateStatisticsCells() protected override IEnumerable<Drawable> CreateStatisticsCells()
{ {

View File

@ -53,7 +53,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
Origin = Anchor.CentreLeft, Origin = Anchor.CentreLeft,
AutoSizeAxes = Axes.Both, AutoSizeAxes = Axes.Both,
Margin = new MarginPadding { Right = 20 }, Margin = new MarginPadding { Right = 20 },
Child = CreatePlayerCell() Child = CreateUserCell()
}; };
foreach (var cell in CreateStatisticsCells()) foreach (var cell in CreateStatisticsCells())
@ -93,7 +93,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
protected abstract Drawable CreateAccuracyCell(); protected abstract Drawable CreateAccuracyCell();
protected abstract Drawable CreatePlayerCell(); protected abstract Drawable CreateUserCell();
protected abstract IEnumerable<Drawable> CreateStatisticsCells(); protected abstract IEnumerable<Drawable> CreateStatisticsCells();

View File

@ -53,7 +53,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
Colour = score.Accuracy == 1 ? Color4.GreenYellow : Color4.White Colour = score.Accuracy == 1 ? Color4.GreenYellow : Color4.White
}; };
protected override Drawable CreatePlayerCell() protected override Drawable CreateUserCell()
{ {
var username = new LinkFlowContainer(t => t.Font = OsuFont.GetFont(size: TEXT_SIZE)) var username = new LinkFlowContainer(t => t.Font = OsuFont.GetFont(size: TEXT_SIZE))
{ {