mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Revert OsuButton
changes
This commit is contained in:
@ -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
|
||||
|
@ -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)})";
|
||||
|
Reference in New Issue
Block a user