diff options
| author | Sophia Pearson <codergal89@gmail.com> | 2022-09-04 21:52:27 +0200 |
|---|---|---|
| committer | Sophia Pearson <codergal89@gmail.com> | 2022-09-04 21:52:27 +0200 |
| commit | f711d55d465bd8838dc55bde1f4a25d582a6bb6b (patch) | |
| tree | e2b5b2ac79adf23e5f2c475ce11ee1c3c6561f0b /Scripts/Game/StatusLine.cs | |
| parent | 2f3abbb6f1141f15ef77ac27e431bc66bb0c7899 (diff) | |
| download | texty-f711d55d465bd8838dc55bde1f4a25d582a6bb6b.tar.xz texty-f711d55d465bd8838dc55bde1f4a25d582a6bb6b.zip | |
tests: adjust tests to new design
Diffstat (limited to 'Scripts/Game/StatusLine.cs')
| -rw-r--r-- | Scripts/Game/StatusLine.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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<RichTextLabel>($"%{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); } } |
