From e127ad39e742396030352240d829bc903b1d4464 Mon Sep 17 00:00:00 2001 From: Sophia Pearson Date: Mon, 3 Oct 2022 22:22:50 +0200 Subject: godot: inital Godot 4 migration --- Scripts/Terminal/OutputBlock.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Scripts/Terminal/OutputBlock.cs') 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); } } -- cgit v1.2.3