Update content vectors to numerics (#17759)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using System.Text;
|
||||
using Content.Client.Arcade.UI;
|
||||
using Content.Client.Resources;
|
||||
@@ -61,7 +62,7 @@ namespace Content.Client.Arcade
|
||||
Title = Loc.GetString("blockgame-menu-title");
|
||||
_owner = owner;
|
||||
|
||||
MinSize = SetSize = (410, 490);
|
||||
MinSize = SetSize = new Vector2(410, 490);
|
||||
|
||||
var resourceCache = IoCManager.Resolve<IResourceCache>();
|
||||
var backgroundTexture = resourceCache.GetTexture("/Textures/Interface/Nano/button.svg.96dpi.png");
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
using Content.Client.Arcade.UI;
|
||||
using System.Numerics;
|
||||
using Content.Client.Arcade.UI;
|
||||
using Content.Shared.Arcade;
|
||||
using Robust.Client.UserInterface.Controls;
|
||||
using Robust.Client.UserInterface.CustomControls;
|
||||
using Robust.Shared.Localization;
|
||||
using Vector2 = Robust.Shared.Maths.Vector2;
|
||||
|
||||
namespace Content.Client.Arcade
|
||||
{
|
||||
@@ -20,7 +19,7 @@ namespace Content.Client.Arcade
|
||||
private readonly Button[] _gameButtons = new Button[3]; //used to disable/enable all game buttons
|
||||
public SpaceVillainArcadeMenu(SpaceVillainArcadeBoundUserInterface owner)
|
||||
{
|
||||
MinSize = SetSize = (300, 225);
|
||||
MinSize = SetSize = new Vector2(300, 225);
|
||||
Title = Loc.GetString("spacevillain-menu-title");
|
||||
Owner = owner;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user