1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:17:23 +08:00

Fix icons not updating tooltip text correctly

This commit is contained in:
Dean Herbert 2020-03-23 14:58:02 +09:00
parent 4f9ac7b81e
commit a6b153673e

View File

@ -28,7 +28,7 @@ namespace osu.Game.Rulesets.UI
private readonly ModType type;
public virtual string TooltipText { get; }
public virtual string TooltipText => mod.IconTooltip;
private Mod mod;
@ -48,8 +48,6 @@ namespace osu.Game.Rulesets.UI
type = mod.Type;
TooltipText = mod.IconTooltip;
Size = new Vector2(size);
Children = new Drawable[]