This commit is contained in:
Andrei Zavatski
2022-12-12 14:57:07 +03:00
parent d2b3533356
commit b0d475cd8b

View File

@ -23,12 +23,8 @@ namespace osu.Game.Graphics.UserInterface
{ {
public LocalisableString Text public LocalisableString Text
{ {
get => SpriteText?.Text ?? default; get => SpriteText.Text;
set set => SpriteText.Text = value;
{
if (SpriteText != null)
SpriteText.Text = value;
}
} }
private Color4? backgroundColour; private Color4? backgroundColour;