Update AnomGen UI (#14872)

This commit is contained in:
James Simonson
2023-04-29 13:53:56 +08:00
committed by GitHub
parent 7a9adffa1e
commit 8df9c97b60
3 changed files with 27 additions and 8 deletions

View File

@@ -25,6 +25,7 @@ public sealed partial class AnomalyGeneratorWindow : FancyWindow
IoCManager.InjectDependencies(this);
EntityView.Sprite = _entityManager.GetComponent<SpriteComponent>(gen);
EntityView.SpriteOffset = false;
GenerateButton.OnPressed += _ => OnGenerateButtonPressed?.Invoke();
}