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:
parent
4f9ac7b81e
commit
a6b153673e
@ -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[]
|
||||
|
Loading…
Reference in New Issue
Block a user