Update content vectors to numerics (#17759)

This commit is contained in:
metalgearsloth
2023-07-08 14:08:32 +10:00
committed by GitHub
parent 15772478c9
commit 68480af109
383 changed files with 978 additions and 575 deletions

View File

@@ -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,