Update content vectors to numerics (#17759)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using Content.Client.Resources;
|
||||
using Content.Client.Stylesheets;
|
||||
using Content.Client.UserInterface.Systems.EscapeMenu;
|
||||
@@ -108,7 +109,7 @@ namespace Content.Client.Changelog
|
||||
{
|
||||
Texture = upArrow,
|
||||
ModulateSelfOverride = Color.FromHex("#888"),
|
||||
TextureScale = (0.5f, 0.5f),
|
||||
TextureScale = new Vector2(0.5f, 0.5f),
|
||||
Margin = new Thickness(4, 3),
|
||||
VerticalAlignment = VAlignment.Bottom
|
||||
},
|
||||
@@ -122,7 +123,7 @@ namespace Content.Client.Changelog
|
||||
{
|
||||
Texture = upArrow,
|
||||
ModulateSelfOverride = Color.FromHex("#888"),
|
||||
TextureScale = (0.5f, 0.5f),
|
||||
TextureScale = new Vector2(0.5f, 0.5f),
|
||||
Margin = new Thickness(4, 3),
|
||||
VerticalAlignment = VAlignment.Bottom
|
||||
}
|
||||
@@ -184,7 +185,7 @@ namespace Content.Client.Changelog
|
||||
{
|
||||
Texture = _resourceCache.GetTexture(new ResPath($"/Textures/Interface/Changelog/{file}")),
|
||||
VerticalAlignment = VAlignment.Top,
|
||||
TextureScale = (0.5f, 0.5f),
|
||||
TextureScale = new Vector2(0.5f, 0.5f),
|
||||
Margin = new Thickness(2, 4, 6, 2),
|
||||
ModulateSelfOverride = Color.FromHex(color)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user