From bec187d997f52eab02c15592e4d280d93c38074d Mon Sep 17 00:00:00 2001 From: moneyl <8206401+Moneyl@users.noreply.github.com> Date: Tue, 14 May 2019 23:52:00 -0400 Subject: [PATCH] Slight chatbox changes to fit existing code style and naming --- Content.Client/Chat/ChatBox.cs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Content.Client/Chat/ChatBox.cs b/Content.Client/Chat/ChatBox.cs index 88b778002c..a081ed59eb 100644 --- a/Content.Client/Chat/ChatBox.cs +++ b/Content.Client/Chat/ChatBox.cs @@ -49,18 +49,17 @@ namespace Content.Client.Chat AnchorLeft = 1.0f; AnchorRight = 1.0f; - VBoxContainer VBox = new VBoxContainer("VBoxContainer"); + var vBox = new VBoxContainer("VBoxContainer"); - contents = new OutputPanel(); - contents.SizeFlagsVertical = SizeFlags.FillExpand; - VBox.AddChild(contents); + contents = new OutputPanel {SizeFlagsVertical = SizeFlags.FillExpand}; + vBox.AddChild(contents); Input = new LineEdit("Input"); Input.OnKeyDown += InputKeyDown; Input.OnTextEntered += Input_OnTextEntered; - VBox.AddChild(Input); + vBox.AddChild(Input); - AddChild(VBox); + AddChild(vBox); PanelOverride = new StyleBoxFlat { BackgroundColor = Color.Gray.WithAlpha(0.5f) }; }