mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 00:09:55 +09:00
Apply changes to UI components overriding functions with changing signatures
This commit is contained in:
@ -11,6 +11,7 @@ using osu.Framework.Graphics.Shapes;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Graphics.UserInterface;
|
||||
using osu.Framework.Input.Events;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osuTK.Graphics;
|
||||
|
||||
@ -21,9 +22,9 @@ namespace osu.Game.Graphics.UserInterface
|
||||
/// </summary>
|
||||
public class OsuButton : Button
|
||||
{
|
||||
public string Text
|
||||
public LocalisableString Text
|
||||
{
|
||||
get => SpriteText?.Text;
|
||||
get => SpriteText.Text;
|
||||
set
|
||||
{
|
||||
if (SpriteText != null)
|
||||
|
Reference in New Issue
Block a user