mirror of
https://github.com/osukey/osukey.git
synced 2025-05-02 04:07:22 +09:00
Implement TooltipText
directly
This commit is contained in:
parent
0e09edfce2
commit
fb495d77ce
@ -31,7 +31,7 @@ namespace osu.Game.Beatmaps.Drawables.Cards.Statistics
|
|||||||
set => spriteText.Text = value;
|
set => spriteText.Text = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected LocalisableString TooltipText { get; set; }
|
public LocalisableString TooltipText { get; protected set; }
|
||||||
|
|
||||||
private readonly SpriteIcon spriteIcon;
|
private readonly SpriteIcon spriteIcon;
|
||||||
private readonly OsuSpriteText spriteText;
|
private readonly OsuSpriteText spriteText;
|
||||||
@ -72,7 +72,6 @@ namespace osu.Game.Beatmaps.Drawables.Cards.Statistics
|
|||||||
|
|
||||||
#region Tooltip implementation
|
#region Tooltip implementation
|
||||||
|
|
||||||
LocalisableString IHasTooltip.TooltipText => TooltipText;
|
|
||||||
public virtual ITooltip GetCustomTooltip() => null;
|
public virtual ITooltip GetCustomTooltip() => null;
|
||||||
public virtual object TooltipContent => null;
|
public virtual object TooltipContent => null;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user