mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-26 21:47:23 +01:00
Remove accidental float math
This commit is contained in:
parent
e2bfb57304
commit
bd28d178ad
|
@ -45,7 +45,7 @@ class AHSVColor {
|
|||
int b = Color.blue(color);
|
||||
double oldHue = hsv[0];
|
||||
ARGBToHSV(Color.rgb(r, g, b), hsv);
|
||||
if (hsv[1] <= 0f)
|
||||
if (hsv[1] <= 0.0)
|
||||
hsv[0] = oldHue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user