mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Apply changes to UI components overriding functions with changing signatures
This commit is contained in:
@ -9,6 +9,7 @@ using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Graphics.UserInterface;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osuTK;
|
||||
@ -168,7 +169,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
protected new class Content : FillFlowContainer, IHasText
|
||||
{
|
||||
public string Text
|
||||
public LocalisableString Text
|
||||
{
|
||||
get => Label.Text;
|
||||
set => Label.Text = value;
|
||||
@ -215,7 +216,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
protected readonly SpriteText Text;
|
||||
|
||||
protected override string Label
|
||||
protected override LocalisableString Label
|
||||
{
|
||||
get => Text.Text;
|
||||
set => Text.Text = value;
|
||||
|
Reference in New Issue
Block a user