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()
{
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,
TextSize = 60,
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,
TextSize = 40,
Position = new Vector2(0, 30),
Margin = new MarginPadding { Right = 5 },
};
protected override PercentageCounter CreateAccuracyCounter() => new PercentageCounter()
{
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,
Position = new Vector2(0, 55),
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,
Position = new Vector2(0, 65),
TextSize = 20,
Margin = new MarginPadding { Right = 5 },
};

View File

@ -107,7 +107,10 @@ namespace osu.Game.Graphics.UserInterface
{
Children = new Drawable[]
{
DisplayedCountSpriteText = new OsuSpriteText(),
DisplayedCountSpriteText = new OsuSpriteText()
{
Font = @"Venera"
},
};
TextSize = 40;