mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Fix icons not updating tooltip text correctly
This commit is contained in:
@ -28,7 +28,7 @@ namespace osu.Game.Rulesets.UI
|
|||||||
|
|
||||||
private readonly ModType type;
|
private readonly ModType type;
|
||||||
|
|
||||||
public virtual string TooltipText { get; }
|
public virtual string TooltipText => mod.IconTooltip;
|
||||||
|
|
||||||
private Mod mod;
|
private Mod mod;
|
||||||
|
|
||||||
@ -48,8 +48,6 @@ namespace osu.Game.Rulesets.UI
|
|||||||
|
|
||||||
type = mod.Type;
|
type = mod.Type;
|
||||||
|
|
||||||
TooltipText = mod.IconTooltip;
|
|
||||||
|
|
||||||
Size = new Vector2(size);
|
Size = new Vector2(size);
|
||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
|
Reference in New Issue
Block a user