1
0
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:
Dean Herbert 2017-02-16 22:44:41 +09:00
parent ca6946c7a2
commit 53e40804ab
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
2 changed files with 12 additions and 7 deletions

View File

@ -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 },
}; };

View File

@ -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;