diff --git a/src/main/java/engine/mechanics/Slider.java b/src/main/java/engine/mechanics/Slider.java index a6b9dc2..011b5fe 100644 --- a/src/main/java/engine/mechanics/Slider.java +++ b/src/main/java/engine/mechanics/Slider.java @@ -58,7 +58,7 @@ else if (mouseListener.isHeld(1)) { @Override public void renderLoop() { - barColor = new Color(Color.DARK_GRAY.getRed(), Color.DARK_GRAY.getGreen(), Color.DARK_GRAY.getBlue(), barAlpha); + barColor = new Color(barColor.getRed(), barColor.getGreen(), barColor.getBlue(), barAlpha); g.setColor(barColor); g.fillRect(x, y, barLength, barThickness); g.setColor(sliderColor);