mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Update usages of IHasTooltip
in line with framework localisation changes
This commit is contained in:
@ -6,6 +6,7 @@ using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Textures;
|
||||
using osu.Framework.Input.Events;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Game.Graphics.Containers;
|
||||
|
||||
namespace osu.Game.Users.Drawables
|
||||
@ -68,11 +69,11 @@ namespace osu.Game.Users.Drawables
|
||||
|
||||
private class ClickableArea : OsuClickableContainer
|
||||
{
|
||||
private string tooltip = default_tooltip_text;
|
||||
private LocalisableString tooltip = default_tooltip_text;
|
||||
|
||||
public override string TooltipText
|
||||
public override LocalisableString TooltipText
|
||||
{
|
||||
get => Enabled.Value ? tooltip : null;
|
||||
get => Enabled.Value ? tooltip : default;
|
||||
set => tooltip = value;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user