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:
parent
4bbefa360c
commit
80dffa905a
@ -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; }
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user