Add BUI ctor tests (#31463)

5 lines of eaten iocmanager.injectdependencies led to this.
This commit is contained in:
metalgearsloth
2025-04-06 20:52:00 +01:00
committed by deltanedas
parent d63d3816a4
commit 0fdb024752
2 changed files with 64 additions and 1 deletions
@@ -9,7 +9,12 @@ namespace Content.Client.UserInterface.Controls
{
public float Progress;
private readonly ProgressColorSystem _progressColor = IoCManager.Resolve<IEntityManager>().System<ProgressColorSystem>();
private readonly ProgressColorSystem _progressColor;
public ProgressTextureRect()
{
_progressColor = IoCManager.Resolve<IEntityManager>().System<ProgressColorSystem>();
}
protected override void Draw(DrawingHandleScreen handle)
{