display faulted plugins as red with details tooltip
All checks were successful
Build / Compute Version (push) Successful in 4s
Build / Build Nuget package (CringeBootstrap.Abstractions) (push) Successful in 8m23s
Build / Build Nuget package (NuGet) (push) Successful in 8m53s
Build / Build Nuget package (CringePlugins) (push) Successful in 10m28s
Build / Build Nuget package (SharedCringe) (push) Successful in 9m37s
Build / Build Launcher (push) Successful in 14m20s
All checks were successful
Build / Compute Version (push) Successful in 4s
Build / Build Nuget package (CringeBootstrap.Abstractions) (push) Successful in 8m23s
Build / Build Nuget package (NuGet) (push) Successful in 8m53s
Build / Build Nuget package (CringePlugins) (push) Successful in 10m28s
Build / Build Nuget package (SharedCringe) (push) Successful in 9m37s
Build / Build Launcher (push) Successful in 14m20s
This commit is contained in:
9
CringePlugins/Utils/ColorExtensions.cs
Normal file
9
CringePlugins/Utils/ColorExtensions.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using System.Numerics;
|
||||
|
||||
namespace CringePlugins.Utils;
|
||||
|
||||
public static class ColorExtensions
|
||||
{
|
||||
public static Vector4 ToFloat4(this Color color) =>
|
||||
new((float)color.R / 255, (float)color.G / 255, (float)color.B / 255, (float)color.A / 255);
|
||||
}
|
Reference in New Issue
Block a user