fix hitresult reversearrow color

This commit is contained in:
yugecin 2016-12-24 14:49:24 +01:00
parent 653d27d7b2
commit fc32040b2f

View File

@ -740,9 +740,7 @@ public class Slider extends GameObject {
posX, posY, hitObject, currentRepeats);
// fade out reverse arrow
float colorLuminance = Utils.getLuminance(color);
Color arrowColor = colorLuminance < 0.8f ? Color.white : Color.black;
data.sendSliderRepeatResult(trackPosition, posX, posY, arrowColor, curve, type);
data.sendSliderRepeatResult(trackPosition, posX, posY, Color.white, curve, type);
}
// held during new tick