Add description in lathe recipe mouseover tooltip (#22621)

* Add description in lathe recipe mouseover tooltip

* Remove old tooltip
This commit is contained in:
Justin
2023-12-16 18:06:38 -08:00
committed by GitHub
parent 432c87f7e2
commit 07f87f93d2
5 changed files with 52 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
using Content.Shared.Research.Prototypes;
using Robust.Client.AutoGenerated;
using Robust.Client.Graphics;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.XAML;
using Robust.Shared.Graphics;
namespace Content.Client.Lathe.UI;
[GenerateTypedNameReferences]
public sealed partial class RecipeTooltip : Control
{
public RecipeTooltip(string tooltip)
{
RobustXamlLoader.Load(this);
RecipeTooltipLabel.SetMessage(tooltip);
}
}