mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 06:42:56 +08:00
Make username text italic
This commit is contained in:
parent
e67e4f708e
commit
791bf6bc01
@ -34,7 +34,7 @@ namespace osu.Game.Overlays.Rankings.Tables
|
|||||||
|
|
||||||
protected sealed override Drawable CreateFlagContent(UserStatistics item)
|
protected sealed override Drawable CreateFlagContent(UserStatistics item)
|
||||||
{
|
{
|
||||||
var username = new LinkFlowContainer(t => t.Font = OsuFont.GetFont(size: TEXT_SIZE)) { AutoSizeAxes = Axes.Both };
|
var username = new LinkFlowContainer(t => t.Font = OsuFont.GetFont(size: TEXT_SIZE, italics: true)) { AutoSizeAxes = Axes.Both };
|
||||||
username.AddUserLink(item.User);
|
username.AddUserLink(item.User);
|
||||||
return username;
|
return username;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user