diff options
| author | Sophia Pearson <codergal89@gmail.com> | 2022-11-26 10:08:44 +0100 |
|---|---|---|
| committer | Sophia Pearson <codergal89@gmail.com> | 2022-11-26 10:08:44 +0100 |
| commit | d7eefa488135c477f39ea0953b032c7dcdad8bc7 (patch) | |
| tree | d9725b73b342ff3d9df4d800616dd010b48c7222 /Scripts/Terminal/InputArea.cs | |
| parent | 8e8a58bac339aa06e860b977670f16c8b4eb30a8 (diff) | |
| download | texty-d7eefa488135c477f39ea0953b032c7dcdad8bc7.tar.xz texty-d7eefa488135c477f39ea0953b032c7dcdad8bc7.zip | |
scripts: perform code cleanup actions
Diffstat (limited to 'Scripts/Terminal/InputArea.cs')
| -rw-r--r-- | Scripts/Terminal/InputArea.cs | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/Scripts/Terminal/InputArea.cs b/Scripts/Terminal/InputArea.cs index a32ad2c..04c0887 100644 --- a/Scripts/Terminal/InputArea.cs +++ b/Scripts/Terminal/InputArea.cs @@ -1,17 +1,15 @@ using Godot; -namespace Texty.Scripts.Terminal +namespace Texty.Scripts.Terminal; + +public partial class InputArea : HBoxContainer { - public partial class InputArea : HBoxContainer - { - protected Label PromptLabel => GetNodeOrNull<Label>($"%{nameof(PromptLabel)}"); - protected LineEdit TextInput => GetNodeOrNull<LineEdit>($"%{nameof(TextInput)}"); + protected Label PromptLabel => GetNodeOrNull<Label>($"%{nameof(PromptLabel)}"); + protected LineEdit TextInput => GetNodeOrNull<LineEdit>($"%{nameof(TextInput)}"); - public new bool HasFocus => TextInput?.HasFocus() ?? false; + public new bool HasFocus => TextInput?.HasFocus() ?? false; - public virtual void OnTextEntered(string text) - { - - } + public virtual void OnTextEntered(string text) + { } }
\ No newline at end of file |
