Move font and text size to class ProfileLink class

This commit is contained in:
Dean Herbert 2017-10-13 17:03:31 +09:00
parent 77c98a34e3
commit 070aceef1e

View File

@ -125,8 +125,6 @@ namespace osu.Game.Overlays.Profile
Anchor = Anchor.BottomLeft, Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft, Origin = Anchor.BottomLeft,
Y = -48, Y = -48,
TextSize = 30,
Font = @"Exo2.0-RegularItalic",
}, },
countryFlag = new DrawableFlag(user.Country?.FlagName) countryFlag = new DrawableFlag(user.Country?.FlagName)
{ {
@ -547,6 +545,8 @@ namespace osu.Game.Overlays.Profile
{ {
Text = user.Username; Text = user.Username;
Url = $@"https://osu.ppy.sh/users/{user.Id}"; Url = $@"https://osu.ppy.sh/users/{user.Id}";
Font = @"Exo2.0-RegularItalic";
TextSize = 30;
} }
} }
} }