Set SpriteView sizes in various controls. (#15935)

This commit is contained in:
Leon Friedrich
2023-04-30 18:46:45 +12:00
committed by GitHub
parent abf039ff80
commit 49a22ed29d
8 changed files with 9 additions and 3 deletions

View File

@@ -48,6 +48,7 @@ namespace Content.Client.Verbs.UI
var spriteView = new SpriteView()
{
OverrideDirection = Direction.South,
SetSize = (ElementHeight, ElementHeight),
Sprite = entManager.GetComponentOrNull<SpriteComponent>(verb.IconEntity.Value)
};