mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:42:56 +08:00
Player -> User
This commit is contained in:
parent
a15a9bd03a
commit
cb417ebd77
@ -28,7 +28,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
|
||||
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()
|
||||
{
|
||||
|
@ -53,7 +53,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
Origin = Anchor.CentreLeft,
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Margin = new MarginPadding { Right = 20 },
|
||||
Child = CreatePlayerCell()
|
||||
Child = CreateUserCell()
|
||||
};
|
||||
|
||||
foreach (var cell in CreateStatisticsCells())
|
||||
@ -93,7 +93,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
|
||||
protected abstract Drawable CreateAccuracyCell();
|
||||
|
||||
protected abstract Drawable CreatePlayerCell();
|
||||
protected abstract Drawable CreateUserCell();
|
||||
|
||||
protected abstract IEnumerable<Drawable> CreateStatisticsCells();
|
||||
|
||||
|
@ -53,7 +53,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user