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

Use new keyword instead of overriding TooltipText to remove setter

This commit is contained in:
OliBomby 2024-10-03 11:13:49 +02:00
parent 4bbefa360c
commit 80dffa905a
3 changed files with 3 additions and 3 deletions

View File

@ -109,6 +109,6 @@ namespace osu.Game.Graphics.UserInterfaceV2
public bool FilteringActive { get; set; }
public virtual LocalisableString TooltipText { get; set; }
public LocalisableString TooltipText { get; set; }
}
}

View File

@ -31,7 +31,7 @@ namespace osu.Game.Overlays.BeatmapSet.Buttons
private readonly IBindable<APIUser> localUser = new Bindable<APIUser>();
public override LocalisableString TooltipText
public new LocalisableString TooltipText
{
get
{

View File

@ -28,7 +28,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
private void updateState() =>
base.Enabled.Value = availability.Value.State == DownloadState.LocallyAvailable && Enabled.Value;
public override LocalisableString TooltipText
public new virtual LocalisableString TooltipText
{
get
{