Fix spawn menu breaking on larger entities

Fixes #5304
This commit is contained in:
Pieter-Jan Briers
2024-07-15 16:23:05 +02:00
parent f696edaa0c
commit 033699d7d6
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ END TEMPLATE-->
### Breaking changes
*None yet*
* Fixes large entities causing entity spawn menu to break.
### New features

View File

@@ -29,7 +29,7 @@ public sealed class EntitySpawnButton : Control
{
(EntityTextureRects = new EntityPrototypeView
{
MinSize = new Vector2(32, 32),
SetSize = new Vector2(32, 32),
HorizontalAlignment = HAlignment.Center,
VerticalAlignment = VAlignment.Center,
Stretch = SpriteView.StretchMode.Fill