fix hitresult reversearrow color
This commit is contained in:
parent
653d27d7b2
commit
fc32040b2f
|
@ -740,9 +740,7 @@ public class Slider extends GameObject {
|
||||||
posX, posY, hitObject, currentRepeats);
|
posX, posY, hitObject, currentRepeats);
|
||||||
|
|
||||||
// fade out reverse arrow
|
// fade out reverse arrow
|
||||||
float colorLuminance = Utils.getLuminance(color);
|
data.sendSliderRepeatResult(trackPosition, posX, posY, Color.white, curve, type);
|
||||||
Color arrowColor = colorLuminance < 0.8f ? Color.white : Color.black;
|
|
||||||
data.sendSliderRepeatResult(trackPosition, posX, posY, arrowColor, curve, type);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// held during new tick
|
// held during new tick
|
||||||
|
|
Loading…
Reference in New Issue
Block a user