From 53e40804ab70c712f56936823ddfbcedd474ae3b Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 16 Feb 2017 22:44:41 +0900 Subject: [PATCH] Move other score components to centre alignment (and switch font). --- osu.Game.Modes.Osu/UI/OsuScoreOverlay.cs | 14 ++++++++------ osu.Game/Graphics/UserInterface/RollingCounter.cs | 5 ++++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/osu.Game.Modes.Osu/UI/OsuScoreOverlay.cs b/osu.Game.Modes.Osu/UI/OsuScoreOverlay.cs index ba996be326..eb5aaa97c9 100644 --- a/osu.Game.Modes.Osu/UI/OsuScoreOverlay.cs +++ b/osu.Game.Modes.Osu/UI/OsuScoreOverlay.cs @@ -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 }, }; diff --git a/osu.Game/Graphics/UserInterface/RollingCounter.cs b/osu.Game/Graphics/UserInterface/RollingCounter.cs index fd1022e546..e0a5d8ed2d 100644 --- a/osu.Game/Graphics/UserInterface/RollingCounter.cs +++ b/osu.Game/Graphics/UserInterface/RollingCounter.cs @@ -107,7 +107,10 @@ namespace osu.Game.Graphics.UserInterface { Children = new Drawable[] { - DisplayedCountSpriteText = new OsuSpriteText(), + DisplayedCountSpriteText = new OsuSpriteText() + { + Font = @"Venera" + }, }; TextSize = 40;