1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 21:12:55 +08:00

Fix icon family and weight not transferring to text conversion

This commit is contained in:
Joseph Madamba 2023-12-30 12:17:46 -08:00
parent 666c57da50
commit ed2362b63d

View File

@ -171,7 +171,7 @@ namespace osu.Game.Overlays.Profile.Header
bottomLinkContainer.AddIcon(icon, text =>
{
text.Font = text.Font.With(size: 10);
text.Font = text.Font.With(icon.Family, 10, icon.Weight);
text.Colour = iconColour;
});