refactored naming of ui text from text label to text.
This commit is contained in:
@@ -13,11 +13,11 @@ namespace RecrownedAthenaeum.UI.Modular.Modules.Interactive
|
||||
{
|
||||
public class TextButton : Button
|
||||
{
|
||||
private TextLabel label;
|
||||
private Text label;
|
||||
|
||||
public TextButton(string text, SpriteFont font, NinePatch background) : base(background)
|
||||
{
|
||||
label = new TextLabel(font, text);
|
||||
label = new Text(font, text);
|
||||
label.autoScale = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user