mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:42:56 +08: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;
|
||||
}
|
||||
|
||||
protected LocalisableString TooltipText { get; set; }
|
||||
public LocalisableString TooltipText { get; protected set; }
|
||||
|
||||
private readonly SpriteIcon spriteIcon;
|
||||
private readonly OsuSpriteText spriteText;
|
||||
@ -72,7 +72,6 @@ namespace osu.Game.Beatmaps.Drawables.Cards.Statistics
|
||||
|
||||
#region Tooltip implementation
|
||||
|
||||
LocalisableString IHasTooltip.TooltipText => TooltipText;
|
||||
public virtual ITooltip GetCustomTooltip() => null;
|
||||
public virtual object TooltipContent => null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user