mirror of
https://github.com/ppy/osu.git
synced 2025-01-23 06:52:58 +08:00
Fix icon family and weight not transferring to text conversion
This commit is contained in:
parent
666c57da50
commit
ed2362b63d
@ -171,7 +171,7 @@ namespace osu.Game.Overlays.Profile.Header
|
|||||||
|
|
||||||
bottomLinkContainer.AddIcon(icon, text =>
|
bottomLinkContainer.AddIcon(icon, text =>
|
||||||
{
|
{
|
||||||
text.Font = text.Font.With(size: 10);
|
text.Font = text.Font.With(icon.Family, 10, icon.Weight);
|
||||||
text.Colour = iconColour;
|
text.Colour = iconColour;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user