From f711d55d465bd8838dc55bde1f4a25d582a6bb6b Mon Sep 17 00:00:00 2001 From: Sophia Pearson Date: Sun, 4 Sep 2022 21:52:27 +0200 Subject: tests: adjust tests to new design --- Scripts/Game/StatusLine.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Scripts/Game/StatusLine.cs') diff --git a/Scripts/Game/StatusLine.cs b/Scripts/Game/StatusLine.cs index ef98a0a..8e19cb4 100644 --- a/Scripts/Game/StatusLine.cs +++ b/Scripts/Game/StatusLine.cs @@ -4,7 +4,7 @@ namespace Texty.Scripts.Game { public class StatusLine : PanelContainer { - private string _titleText = "Title Text"; + private string _titleText = ""; private RichTextLabel TitleLabel => GetNodeOrNull($"%{nameof(TitleLabel)}"); [Export] @@ -15,7 +15,7 @@ namespace Texty.Scripts.Game { _titleText = value; if (TitleLabel != null) - TitleLabel.Text = GodotSharp.Singleton.Tr(value); + TitleLabel.BbcodeText = GodotSharp.Singleton.Tr(value); } } -- cgit v1.2.3