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.Stylesheets;
using Content.Shared.Input;
using Robust.Client.AutoGenerated;
@@ -60,7 +61,7 @@ namespace Content.Client.Options.UI.Tabs
{
if (!first)
{
KeybindsContainer.AddChild(new Control {MinSize = (0, 8)});
KeybindsContainer.AddChild(new Control {MinSize = new Vector2(0, 8)});
}
first = false;
@@ -414,11 +415,11 @@ namespace Content.Client.Options.UI.Tabs
Orientation = LayoutOrientation.Horizontal,
Children =
{
new Control {MinSize = (5, 0)},
new Control {MinSize = new Vector2(5, 0)},
name,
BindButton1,
BindButton2,
new Control {MinSize = (10, 0)},
new Control {MinSize = new Vector2(10, 0)},
ResetButton
}
};
@@ -458,7 +459,7 @@ namespace Content.Client.Options.UI.Tabs
Button.OnKeyBindDown += ButtonOnOnKeyBindDown;
MinSize = (200, 0);
MinSize = new Vector2(200, 0);
}
protected override void EnteredTree()