mirror of
https://github.com/osukey/osukey.git
synced 2025-05-17 03:27:21 +09: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 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()
|
||||||
{
|
{
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
@ -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))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user