From f11173012c87cf150a9273221ef31b4cf532d251 Mon Sep 17 00:00:00 2001 From: Jeffrey Han Date: Sun, 8 Jan 2017 14:07:41 -0500 Subject: [PATCH] Support AllowSliderBallTint skin option. (yugecin/opsu-dance@ae9bdcd) --- src/itdelatrisu/opsu/objects/Slider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/itdelatrisu/opsu/objects/Slider.java b/src/itdelatrisu/opsu/objects/Slider.java index 0968f92a..ef185cc8 100644 --- a/src/itdelatrisu/opsu/objects/Slider.java +++ b/src/itdelatrisu/opsu/objects/Slider.java @@ -329,7 +329,7 @@ public void draw(Graphics g, int trackPosition) { sliderBallFrame = sliderBallFrame.getFlippedCopy(true, false); float angle = (float) (Math.atan2(c2.y - c.y, c2.x - c.x) * 180 / Math.PI); sliderBallFrame.setRotation(angle); - sliderBallFrame.drawCentered(c.x, c.y); + sliderBallFrame.drawCentered(c.x, c.y, Options.getSkin().isAllowSliderBallTint() ? color : Color.white); // follow circle if (followCircleActive || !releaseExpand.isFinished()) {