diff --git a/Content.Client/_CP14/Workbench/CP14WorkbenchRecipeControl.xaml b/Content.Client/_CP14/Workbench/CP14WorkbenchRecipeControl.xaml index 049b95455b..c8ebb4f284 100644 --- a/Content.Client/_CP14/Workbench/CP14WorkbenchRecipeControl.xaml +++ b/Content.Client/_CP14/Workbench/CP14WorkbenchRecipeControl.xaml @@ -1,14 +1,11 @@  - diff --git a/Content.Client/_CP14/Workbench/CP14WorkbenchRecipeControl.xaml.cs b/Content.Client/_CP14/Workbench/CP14WorkbenchRecipeControl.xaml.cs index ec35e29b35..884e5745f3 100644 --- a/Content.Client/_CP14/Workbench/CP14WorkbenchRecipeControl.xaml.cs +++ b/Content.Client/_CP14/Workbench/CP14WorkbenchRecipeControl.xaml.cs @@ -39,7 +39,6 @@ public sealed partial class CP14WorkbenchRecipeControl : Control Button.OnPressed += _ => OnSelect?.Invoke(entry, _recipePrototype); UpdateColor(); - UpdateName(); UpdateView(); } @@ -51,13 +50,6 @@ public sealed partial class CP14WorkbenchRecipeControl : Control Button.ModulateSelfOverride = Color.FromHex("#302622"); } - private void UpdateName() - { - var result = _prototype.Index(_recipePrototype.Result); - var counter = _recipePrototype.ResultCount > 1 ? $" x{_recipePrototype.ResultCount}" : ""; - Name.Text = $"{Loc.GetString(result.Name)} {counter}" ; - } - private void UpdateView() { View.SetPrototype(_recipePrototype.Result); diff --git a/Content.Client/_CP14/Workbench/CP14WorkbenchWindow.xaml b/Content.Client/_CP14/Workbench/CP14WorkbenchWindow.xaml index edaffe0a33..5a92b2283a 100644 --- a/Content.Client/_CP14/Workbench/CP14WorkbenchWindow.xaml +++ b/Content.Client/_CP14/Workbench/CP14WorkbenchWindow.xaml @@ -12,60 +12,62 @@ - + - - + + - - - - - + + + + + + - - - - - + + + + + - - - - + + + + + + + + + +