Removing the redundant enum typecast apparently fixes the CS8600 warnings ¯\_(ツ)_/¯

This commit is contained in:
Acruid
2021-12-17 11:43:43 -08:00
parent 17ee658b7e
commit c093dfba7f
2 changed files with 17 additions and 17 deletions

View File

@@ -45,7 +45,7 @@ namespace Content.Client.Stylesheets
protected StyleBase(IResourceCache resCache)
{
FontLib = new FontLibrary(
new FontClass(Id: "notosans", Style: (FontStyle) default, Size: (FontSize) 12)
new FontClass(Id: "notosans", Style: default, Size: (FontSize) 12)
) as IFontLibrary;
FontLib.AddFont("notosans",
@@ -182,7 +182,7 @@ namespace Content.Client.Stylesheets
new[]
{
new StyleProperty("font-library", FontLib),
new StyleProperty("font", new FontClass("notosans", (FontStyle) default, (FontSize) 12)),
new StyleProperty("font", new FontClass("notosans", default, (FontSize) 12)),
}),
// Default font.