Add localisation support to DialogButton's text

This commit is contained in:
Dean Herbert 2021-04-20 17:06:12 +09:00
parent 623eae1576
commit db524e2395
1 changed files with 3 additions and 2 deletions

View File

@ -15,6 +15,7 @@
using osu.Framework.Graphics.Effects;
using osu.Game.Graphics.Containers;
using osu.Framework.Input.Events;
using osu.Framework.Localisation;
namespace osu.Game.Graphics.UserInterface
{
@ -180,9 +181,9 @@ public Color4 BackgroundColour
}
}
private string text;
private LocalisableString text;
public string Text
public LocalisableString Text
{
get => text;
set