mirror of
https://github.com/ppy/osu.git
synced 2026-06-03 13:44:34 +08:00
Use IconTooltip
This commit is contained in:
@@ -219,16 +219,11 @@ namespace osu.Game.Online.Leaderboards
|
||||
}
|
||||
};
|
||||
|
||||
string description = mod.SettingDescription;
|
||||
|
||||
if (string.IsNullOrEmpty(description))
|
||||
description = mod.Name;
|
||||
|
||||
container.Add(new OsuSpriteText
|
||||
{
|
||||
RelativeSizeAxes = Axes.Y,
|
||||
Font = OsuFont.GetFont(size: 12, weight: FontWeight.SemiBold),
|
||||
Text = description,
|
||||
Text = mod.IconTooltip,
|
||||
Origin = Anchor.CentreLeft,
|
||||
Anchor = Anchor.CentreLeft,
|
||||
Margin = new MarginPadding { Top = 1 },
|
||||
|
||||
Reference in New Issue
Block a user