Files
tbd-station-14/Content.Client/Lathe/UI/RecipeTooltip.xaml.cs
Justin 07f87f93d2 Add description in lathe recipe mouseover tooltip (#22621)
* Add description in lathe recipe mouseover tooltip

* Remove old tooltip
2023-12-16 21:06:38 -05:00

21 lines
475 B
C#

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);
}
}