Update content vectors to numerics (#17759)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Numerics;
|
||||
using Content.Client.CrewManifest;
|
||||
using Content.Client.GameTicking.Managers;
|
||||
using Content.Client.UserInterface.Controls;
|
||||
@@ -38,7 +39,7 @@ namespace Content.Client.LateJoin
|
||||
|
||||
public LateJoinGui()
|
||||
{
|
||||
MinSize = SetSize = (360, 560);
|
||||
MinSize = SetSize = new Vector2(360, 560);
|
||||
IoCManager.InjectDependencies(this);
|
||||
_sprites = _entitySystem.GetEntitySystem<SpriteSystem>();
|
||||
_crewManifest = _entitySystem.GetEntitySystem<CrewManifestSystem>();
|
||||
@@ -228,7 +229,7 @@ namespace Content.Client.LateJoin
|
||||
|
||||
var icon = new TextureRect
|
||||
{
|
||||
TextureScale = (2, 2),
|
||||
TextureScale = new Vector2(2, 2),
|
||||
Stretch = TextureRect.StretchMode.KeepCentered
|
||||
};
|
||||
|
||||
@@ -261,7 +262,7 @@ namespace Content.Client.LateJoin
|
||||
|
||||
jobSelector.AddChild(new TextureRect
|
||||
{
|
||||
TextureScale = (0.4f, 0.4f),
|
||||
TextureScale = new Vector2(0.4f, 0.4f),
|
||||
Stretch = TextureRect.StretchMode.KeepCentered,
|
||||
Texture = _sprites.Frame0(new SpriteSpecifier.Texture(new ("/Textures/Interface/Nano/lock.svg.192dpi.png"))),
|
||||
HorizontalExpand = true,
|
||||
|
||||
Reference in New Issue
Block a user