Adjust sprite texts in-line with framework changes

This commit is contained in:
smoogipoo
2019-02-12 13:04:46 +09:00
parent e174fa2d3e
commit a2aa3ec5cb
140 changed files with 424 additions and 514 deletions

View File

@ -155,7 +155,7 @@ namespace osu.Game.Screens.Multi.Lounge.Components
Spacing = new Vector2(5f),
Children = new Drawable[]
{
new RoomName { TextSize = 18 },
new RoomName { Font = OsuFont.GetFont(size: 18) },
new ParticipantInfo(),
},
},

View File

@ -81,7 +81,7 @@ namespace osu.Game.Screens.Multi.Lounge.Components
summary = new OsuSpriteText
{
Text = "0 participants",
TextSize = 14,
Font = OsuFont.GetFont(size: 14)
}
},
},
@ -95,7 +95,8 @@ namespace osu.Game.Screens.Multi.Lounge.Components
if (v != null)
{
hostText.AddText("hosted by ");
hostText.AddLink(v.Username, null, LinkAction.OpenUserProfile, v.Id.ToString(), "Open profile", s => s.Font = "Exo2.0-BoldItalic");
hostText.AddLink(v.Username, null, LinkAction.OpenUserProfile, v.Id.ToString(), "Open profile",
s => s.Font = OsuFont.GetFont(Typeface.Exo, weight: FontWeight.Medium, italics: true));
flagContainer.Child = new DrawableFlag(v.Country) { RelativeSizeAxes = Axes.Both };
}
}, true);

View File

@ -96,7 +96,7 @@ namespace osu.Game.Screens.Multi.Lounge.Components
{
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
TextSize = 30,
Font = OsuFont.GetFont(size: 30),
Current = Name
},
},
@ -135,8 +135,7 @@ namespace osu.Game.Screens.Multi.Lounge.Components
AutoSizeAxes = Axes.Both,
Child = new StatusText
{
TextSize = 14,
Font = @"Exo2.0-Bold",
Font = OsuFont.GetFont(weight: FontWeight.Bold, size: 14),
}
},
beatmapTypeInfo = new BeatmapTypeInfo(),