Improve stripping UI (#9768)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Content.Client.Cooldown;
|
||||
using Content.Client.Cooldown;
|
||||
using Content.Client.UserInterface.Systems.Inventory.Controls;
|
||||
using Robust.Client.Graphics;
|
||||
using Robust.Client.UserInterface;
|
||||
@@ -12,6 +12,8 @@ namespace Content.Client.UserInterface.Controls
|
||||
{
|
||||
private const string HighlightShader = "SelectionOutlineInrange";
|
||||
|
||||
public static int DefaultButtonSize = 64;
|
||||
|
||||
public TextureRect ButtonRect { get; }
|
||||
public TextureRect BlockedRect { get; }
|
||||
public TextureRect HighlightRect { get; }
|
||||
@@ -111,7 +113,7 @@ namespace Content.Client.UserInterface.Controls
|
||||
{
|
||||
IoCManager.InjectDependencies(this);
|
||||
Name = "SlotButton_null";
|
||||
MinSize = (64, 64);
|
||||
MinSize = (DefaultButtonSize, DefaultButtonSize);
|
||||
AddChild(ButtonRect = new TextureRect
|
||||
{
|
||||
TextureScale = (2, 2),
|
||||
|
||||
Reference in New Issue
Block a user