Fix storage UI interactions (#28291)

* Fix storage UI interactions

* Add VV support
This commit is contained in:
Leon Friedrich
2024-05-26 14:11:37 +12:00
committed by GitHub
parent d5aae7a48b
commit 12841da9a1
2 changed files with 4 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ using Robust.Client.UserInterface.CustomControls;
namespace Content.Client.UserInterface.Systems.Storage.Controls;
public sealed class ItemGridPiece : Control
public sealed class ItemGridPiece : Control, IEntityControl
{
private readonly IEntityManager _entityManager;
private readonly StorageUIController _storageController;
@@ -287,6 +287,8 @@ public sealed class ItemGridPiece : Control
var actualSize = new Vector2(boxSize.X + 1, boxSize.Y + 1);
return actualSize * new Vector2i(8, 8);
}
public EntityUid? UiEntity => Entity;
}
public enum ItemGridPieceMarks