Update content vectors to numerics (#17759)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Numerics;
|
||||
using Content.Client.IoC;
|
||||
using Content.Client.Items;
|
||||
using Content.Client.Resources;
|
||||
@@ -232,7 +233,7 @@ public sealed partial class GunSystem
|
||||
}),
|
||||
}
|
||||
},
|
||||
new Control() { MinSize = (5, 0) },
|
||||
new Control() { MinSize = new Vector2(5, 0) },
|
||||
(_ammoCount = new Label
|
||||
{
|
||||
StyleClasses = { StyleNano.StyleClassItemStatus },
|
||||
@@ -267,7 +268,7 @@ public sealed partial class GunSystem
|
||||
{
|
||||
BackgroundColor = colorGone,
|
||||
},
|
||||
MinSize = (10, 15),
|
||||
MinSize = new Vector2(10, 15),
|
||||
});
|
||||
}
|
||||
|
||||
@@ -281,7 +282,7 @@ public sealed partial class GunSystem
|
||||
{
|
||||
BackgroundColor = color,
|
||||
},
|
||||
MinSize = (10, 15),
|
||||
MinSize = new Vector2(10, 15),
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -312,7 +313,7 @@ public sealed partial class GunSystem
|
||||
VerticalAlignment = VAlignment.Center,
|
||||
HorizontalAlignment = HAlignment.Right,
|
||||
}),
|
||||
new Control() { MinSize = (5,0) },
|
||||
new Control() { MinSize = new Vector2(5,0) },
|
||||
new Control
|
||||
{
|
||||
HorizontalExpand = true,
|
||||
@@ -331,7 +332,7 @@ public sealed partial class GunSystem
|
||||
})
|
||||
}
|
||||
},
|
||||
new Control() { MinSize = (5,0) },
|
||||
new Control() { MinSize = new Vector2(5,0) },
|
||||
(_ammoCount = new Label
|
||||
{
|
||||
StyleClasses = {StyleNano.StyleClassItemStatus},
|
||||
@@ -478,7 +479,7 @@ public sealed partial class GunSystem
|
||||
box.AddChild(new TextureRect
|
||||
{
|
||||
Texture = texture,
|
||||
TextureScale = (scale, scale),
|
||||
TextureScale = new Vector2(scale, scale),
|
||||
ModulateSelfOverride = Color.LimeGreen,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user