diff --git a/res/slidergradient.png b/res/slidergradient.png index 6939923f..1337613a 100644 Binary files a/res/slidergradient.png and b/res/slidergradient.png differ diff --git a/src/itdelatrisu/opsu/objects/Slider.java b/src/itdelatrisu/opsu/objects/Slider.java index ddc50f83..8e9a6eb1 100644 --- a/src/itdelatrisu/opsu/objects/Slider.java +++ b/src/itdelatrisu/opsu/objects/Slider.java @@ -110,7 +110,7 @@ public class Slider extends GameObject { private int repeats; - private static Color curveColor = new Color(0, 0, 0); + private static Color curveColor = new Color(0, 0, 0, 20); /** * Initializes the Slider data type with images and dimensions. diff --git a/src/itdelatrisu/opsu/render/CurveRenderState.java b/src/itdelatrisu/opsu/render/CurveRenderState.java index 737db42b..34080c0c 100644 --- a/src/itdelatrisu/opsu/render/CurveRenderState.java +++ b/src/itdelatrisu/opsu/render/CurveRenderState.java @@ -394,8 +394,8 @@ public class CurveRenderState { ByteBuffer buff = BufferUtils.createByteBuffer(slider.getWidth() * 4); for (int i = 0; i < slider.getWidth(); ++i) { Color col = slider.getColor(i, 0); - buff.put((byte) (255 * col.r)); - buff.put((byte) (255 * col.g)); + buff.put((byte) (255 * col.b)); + buff.put((byte) (255 * col.b)); // I know this looks strange... buff.put((byte) (255 * col.b)); buff.put((byte) (255 * col.a)); }