adjust the slider circles alpha when hidden mod is enabled
This commit is contained in:
parent
b252f0ec42
commit
3ca2653197
|
@ -213,11 +213,11 @@ public class Slider implements GameObject {
|
|||
if (currentRepeats == 0) {
|
||||
if (Options.isSliderSnaking()) {
|
||||
// fade in end circle using decorationsAlpha when snaking sliders are enabled
|
||||
circleColor.a = overlayColor.a = decorationsAlpha;
|
||||
circleColor.a = overlayColor.a = sliderAlpha * decorationsAlpha;
|
||||
}
|
||||
} else {
|
||||
// fade in end circle after repeats
|
||||
circleColor.a = overlayColor.a = getCircleAlphaAfterRepeat(trackPosition, true);
|
||||
circleColor.a = overlayColor.a = sliderAlpha * getCircleAlphaAfterRepeat(trackPosition, true);
|
||||
}
|
||||
Vec2f endCircPos = curve.pointAt(curveInterval);
|
||||
hitCircle.drawCentered(endCircPos.x, endCircPos.y, circleColor);
|
||||
|
@ -229,7 +229,7 @@ public class Slider implements GameObject {
|
|||
Color startCircleOverlayColor = new Color(Colors.WHITE_FADE);
|
||||
if (sliderClickedInitial) {
|
||||
// fade in first circle after repeats
|
||||
firstCircleColor.a = startCircleOverlayColor.a = getCircleAlphaAfterRepeat(trackPosition, false);
|
||||
firstCircleColor.a = startCircleOverlayColor.a = sliderAlpha * getCircleAlphaAfterRepeat(trackPosition, false);
|
||||
}
|
||||
|
||||
// start circle, only draw if ball still has to go there
|
||||
|
|
Loading…
Reference in New Issue
Block a user