Update content vectors to numerics (#17759)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user