1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 03:22:55 +08:00

Fix text alignment

This commit is contained in:
Dean Herbert 2019-07-22 23:26:11 +09:00
parent d83d93ee66
commit 95241165cc

View File

@ -1,4 +1,4 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables; using osu.Framework.Bindables;
@ -47,8 +47,8 @@ namespace osu.Game.Screens.Select.Details
{ {
new OsuSpriteText new OsuSpriteText
{ {
Anchor = Anchor.TopLeft, Anchor = Anchor.TopCentre,
Origin = Anchor.TopLeft, Origin = Anchor.TopCentre,
Margin = new MarginPadding { Top = 5 }, Margin = new MarginPadding { Top = 5 },
Text = @"your personal best".ToUpper(), Text = @"your personal best".ToUpper(),
Font = OsuFont.GetFont(size: 15, weight: FontWeight.Bold), Font = OsuFont.GetFont(size: 15, weight: FontWeight.Bold),