Default alpha to be opaque

This commit is contained in:
Nick 2022-05-21 15:34:17 -04:00
parent 93a5b90f30
commit 582d6c7051

View File

@ -14,7 +14,7 @@ namespace NewHorizons.Utility
public int R { get; } public int R { get; }
public int G { get; } public int G { get; }
public int B { get; } public int B { get; }
public int A { get; } public int A { get; } = 255;
public Color32 ToColor32() => new Color32((byte)R, (byte)G, (byte)B, (byte)A); public Color32 ToColor32() => new Color32((byte)R, (byte)G, (byte)B, (byte)A);