Remove some redundant declarations from ChatBox.cs
This commit is contained in:
@@ -92,31 +92,22 @@ namespace Content.Client.Chat
|
|||||||
{
|
{
|
||||||
Text = localize.GetString("All"),
|
Text = localize.GetString("All"),
|
||||||
Name = "ALL",
|
Name = "ALL",
|
||||||
TextAlign = Button.AlignMode.Left,
|
|
||||||
SizeFlagsHorizontal = SizeFlags.ShrinkEnd | SizeFlags.Expand,
|
SizeFlagsHorizontal = SizeFlags.ShrinkEnd | SizeFlags.Expand,
|
||||||
SizeFlagsStretchRatio = 1,
|
|
||||||
ToggleMode = true,
|
ToggleMode = true,
|
||||||
Pressed = true
|
|
||||||
};
|
};
|
||||||
|
|
||||||
LocalButton = new Button
|
LocalButton = new Button
|
||||||
{
|
{
|
||||||
Text = localize.GetString("Local"),
|
Text = localize.GetString("Local"),
|
||||||
Name = "Local",
|
Name = "Local",
|
||||||
TextAlign = Button.AlignMode.Left,
|
|
||||||
SizeFlagsStretchRatio = 1,
|
|
||||||
ToggleMode = true,
|
ToggleMode = true,
|
||||||
Pressed = true
|
|
||||||
};
|
};
|
||||||
|
|
||||||
OOCButton = new Button
|
OOCButton = new Button
|
||||||
{
|
{
|
||||||
Text = localize.GetString("OOC"),
|
Text = localize.GetString("OOC"),
|
||||||
Name = "OOC",
|
Name = "OOC",
|
||||||
TextAlign = Button.AlignMode.Left,
|
|
||||||
SizeFlagsStretchRatio = 1,
|
|
||||||
ToggleMode = true,
|
ToggleMode = true,
|
||||||
Pressed = true
|
|
||||||
};
|
};
|
||||||
|
|
||||||
AllButton.OnToggled += OnFilterToggled;
|
AllButton.OnToggled += OnFilterToggled;
|
||||||
|
|||||||
Reference in New Issue
Block a user