1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:43:05 +08:00

Revert OsuButton changes

This commit is contained in:
Dean Herbert 2022-06-10 15:02:26 +09:00
parent 7d86010903
commit 5541ebc76b
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ namespace osu.Game.Graphics.UserInterface
/// </summary>
public class OsuButton : Button
{
public virtual LocalisableString Text
public LocalisableString Text
{
get => SpriteText?.Text ?? default;
set

View File

@ -21,7 +21,7 @@ namespace osu.Game.Screens.Utility
this.key = key;
}
public override LocalisableString Text
public new LocalisableString Text
{
get => base.Text;
set => base.Text = $"{value} (Press {key.ToString().Replace("Number", string.Empty)})";