Fix ToAhsv using the wrong type for alpha
This commit is contained in:
committed by
Matthias Mailänder
parent
7a93b9ea8c
commit
a9cd2d41c7
@@ -49,7 +49,7 @@ namespace OpenRA.Primitives
|
||||
return FromAhsv(255, h, s, v);
|
||||
}
|
||||
|
||||
public (float A, float H, float S, float V) ToAhsv()
|
||||
public (int A, float H, float S, float V) ToAhsv()
|
||||
{
|
||||
var (h, s, v) = RgbToHsv(R, G, B);
|
||||
return (A, h, s, v);
|
||||
|
||||
Reference in New Issue
Block a user