1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-03 13:04:19 +08:00

Use IconTooltip

This commit is contained in:
wezwery
2025-03-16 15:30:27 +02:00
Unverified
parent 2fce334a7f
commit b00be5477f
@@ -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 },