mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 23:15:34 +08:00
Move other score components to centre alignment (and switch font).
This commit is contained in:
parent
ca6946c7a2
commit
53e40804ab
@ -15,17 +15,19 @@ namespace osu.Game.Modes.Osu.UI
|
|||||||
{
|
{
|
||||||
protected override ScoreCounter CreateScoreCounter() => new ScoreCounter()
|
protected override ScoreCounter CreateScoreCounter() => new ScoreCounter()
|
||||||
{
|
{
|
||||||
Anchor = Anchor.TopRight,
|
Anchor = Anchor.TopCentre,
|
||||||
Origin = Anchor.TopRight,
|
Origin = Anchor.TopCentre,
|
||||||
TextSize = 60,
|
TextSize = 40,
|
||||||
|
Position = new Vector2(0, 30),
|
||||||
Margin = new MarginPadding { Right = 5 },
|
Margin = new MarginPadding { Right = 5 },
|
||||||
};
|
};
|
||||||
|
|
||||||
protected override PercentageCounter CreateAccuracyCounter() => new PercentageCounter()
|
protected override PercentageCounter CreateAccuracyCounter() => new PercentageCounter()
|
||||||
{
|
{
|
||||||
Anchor = Anchor.TopRight,
|
Anchor = Anchor.TopCentre,
|
||||||
Origin = Anchor.TopRight,
|
Origin = Anchor.TopCentre,
|
||||||
Position = new Vector2(0, 55),
|
Position = new Vector2(0, 65),
|
||||||
|
TextSize = 20,
|
||||||
Margin = new MarginPadding { Right = 5 },
|
Margin = new MarginPadding { Right = 5 },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -107,7 +107,10 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
{
|
{
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
DisplayedCountSpriteText = new OsuSpriteText(),
|
DisplayedCountSpriteText = new OsuSpriteText()
|
||||||
|
{
|
||||||
|
Font = @"Venera"
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
TextSize = 40;
|
TextSize = 40;
|
||||||
|
Loading…
Reference in New Issue
Block a user