1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 04:22:54 +08:00

Merge pull request #9466 from Joehuu/fix-multi-title-alignment

Fix multi header title not aligning correctly when changing screens
This commit is contained in:
Dean Herbert 2020-07-09 11:36:34 +09:00 committed by GitHub
commit 99bbdb577c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,22 +95,22 @@ namespace osu.Game.Screens.Multi
{ {
new OsuSpriteText new OsuSpriteText
{ {
Anchor = Anchor.Centre, Anchor = Anchor.CentreLeft,
Origin = Anchor.Centre, Origin = Anchor.CentreLeft,
Font = OsuFont.GetFont(size: 24), Font = OsuFont.GetFont(size: 24),
Text = "Multiplayer" Text = "Multiplayer"
}, },
dot = new OsuSpriteText dot = new OsuSpriteText
{ {
Anchor = Anchor.Centre, Anchor = Anchor.CentreLeft,
Origin = Anchor.Centre, Origin = Anchor.CentreLeft,
Font = OsuFont.GetFont(size: 24), Font = OsuFont.GetFont(size: 24),
Text = "·" Text = "·"
}, },
pageTitle = new OsuSpriteText pageTitle = new OsuSpriteText
{ {
Anchor = Anchor.Centre, Anchor = Anchor.CentreLeft,
Origin = Anchor.Centre, Origin = Anchor.CentreLeft,
Font = OsuFont.GetFont(size: 24), Font = OsuFont.GetFont(size: 24),
Text = "Lounge" Text = "Lounge"
} }