mirror of
https://github.com/ppy/osu.git
synced 2026-06-01 03:19:55 +08:00
Use new keyword instead of overriding TooltipText to remove setter
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user