Skip to content

Commit

Permalink
Support AllowSliderBallTint skin option. (yugecin/opsu-dance@ae9bdcd)
Browse files Browse the repository at this point in the history
  • Loading branch information
itdelatrisu committed Jan 8, 2017
1 parent e1c50ed commit f111730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/itdelatrisu/opsu/objects/Slider.java
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit f111730

Please # to comment.