1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 18:32:54 +08:00

fix tooltip in SettingsButton

This commit is contained in:
OliBomby 2024-10-07 10:43:24 +02:00
parent 75f15ccaba
commit 0a7d2395d2

View File

@ -6,12 +6,13 @@ using System.Collections.Generic;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Localisation;
using osu.Game.Graphics.UserInterfaceV2;
namespace osu.Game.Overlays.Settings
{
public partial class SettingsButton : RoundedButton, IConditionalFilterable
public partial class SettingsButton : RoundedButton, IHasTooltip, IConditionalFilterable
{
public SettingsButton()
{
@ -24,7 +25,7 @@ namespace osu.Game.Overlays.Settings
public BindableBool CanBeShown { get; } = new BindableBool(true);
IBindable<bool> IConditionalFilterable.CanBeShown => CanBeShown;
public virtual LocalisableString TooltipText { get; set; }
public LocalisableString TooltipText { get; set; }
public override IEnumerable<LocalisableString> FilterTerms
{