summaryrefslogtreecommitdiff
path: root/Scripts/Terminal/OutputBlock.cs
diff options
context:
space:
mode:
authorSophia Pearson <codergal89@gmail.com>2022-10-03 22:22:50 +0200
committerSophia Pearson <codergal89@gmail.com>2022-10-04 22:18:18 +0200
commite127ad39e742396030352240d829bc903b1d4464 (patch)
tree10cc21d70bf13181aef7c8ad0344077ff63579a3 /Scripts/Terminal/OutputBlock.cs
parentddbb045f6387a8ba23b1210b27a745516a387a52 (diff)
downloadtexty-e127ad39e742396030352240d829bc903b1d4464.tar.xz
texty-e127ad39e742396030352240d829bc903b1d4464.zip
godot: inital Godot 4 migration
Diffstat (limited to 'Scripts/Terminal/OutputBlock.cs')
-rw-r--r--Scripts/Terminal/OutputBlock.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Scripts/Terminal/OutputBlock.cs b/Scripts/Terminal/OutputBlock.cs
index 08b2ab2..4512446 100644
--- a/Scripts/Terminal/OutputBlock.cs
+++ b/Scripts/Terminal/OutputBlock.cs
@@ -3,7 +3,7 @@ using Godot;
namespace Texty.Scripts.Terminal
{
[Tool]
- public class OutputBlock : MarginContainer
+ public partial class OutputBlock : MarginContainer
{
private string _content = "";
@@ -12,12 +12,12 @@ namespace Texty.Scripts.Terminal
[Export(PropertyHint.MultilineText)]
public string Content
{
- get => ContentLabel?.BbcodeText ?? "";
+ get => ContentLabel?.Text ?? "";
set
{
_content = value;
if (ContentLabel != null)
- ContentLabel.BbcodeText = GodotSharp.Singleton.Tr(_content);
+ ContentLabel.Text = GodotSharp.Singleton.Tr(_content);
}
}