refactored naming of ui text from text label to text.

This commit is contained in:
2018-12-11 01:12:25 -06:00
parent af7653dbdd
commit f3bfba0045
2 changed files with 8 additions and 33 deletions

View File

@@ -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;
}