From 0d9378edb0fcddeedc999a9e9838935afb407e57 Mon Sep 17 00:00:00 2001 From: yugecin Date: Mon, 12 Dec 2016 01:21:37 +0100 Subject: [PATCH] remove an unused parameter --- src/itdelatrisu/opsu/objects/Slider.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/itdelatrisu/opsu/objects/Slider.java b/src/itdelatrisu/opsu/objects/Slider.java index ac494708..3830726f 100644 --- a/src/itdelatrisu/opsu/objects/Slider.java +++ b/src/itdelatrisu/opsu/objects/Slider.java @@ -219,7 +219,7 @@ public class Slider implements GameObject { // ticks if (ticksT != null) { - drawSliderTicks(g, trackPosition, sliderAlpha, decorationsAlpha); + drawSliderTicks(trackPosition, sliderAlpha, decorationsAlpha); Colors.WHITE_FADE.a = oldWhiteFadeAlpha; } @@ -319,12 +319,11 @@ public class Slider implements GameObject { /** * Draws slider ticks. - * @param g the graphics context * @param trackPosition the track position * @param curveAlpha the curve alpha level * @param decorationsAlpha the decorations alpha level */ - private void drawSliderTicks(Graphics g, int trackPosition, float curveAlpha, float decorationsAlpha) { + private void drawSliderTicks(int trackPosition, float curveAlpha, float decorationsAlpha) { float tickScale = 0.5f + 0.5f * AnimationEquation.OUT_BACK.calc(decorationsAlpha); Image tick = GameImage.SLIDER_TICK.getImage().getScaledCopy(tickScale);