From fc7476093b032b618196661e74e1e49e583f4665 Mon Sep 17 00:00:00 2001 From: yugecin Date: Sun, 29 Jan 2017 13:42:46 +0100 Subject: [PATCH] prevent slider line showing above sliderball --- src/yugecin/opsudance/ui/OptionsOverlay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yugecin/opsudance/ui/OptionsOverlay.java b/src/yugecin/opsudance/ui/OptionsOverlay.java index c0a6ef08..b70378a8 100644 --- a/src/yugecin/opsudance/ui/OptionsOverlay.java +++ b/src/yugecin/opsudance/ui/OptionsOverlay.java @@ -474,7 +474,7 @@ public class OptionsOverlay extends OverlayOpsuState { float a = COL_PINK.a; COL_PINK.a *= 0.45f; g.setColor(COL_PINK); - g.drawLine(sliderBallPos + controlImageSize, y + optionHeight / 2, sliderEndX, y + optionHeight / 2); + g.drawLine(sliderBallPos + controlImageSize + 1, y + optionHeight / 2, sliderEndX, y + optionHeight / 2); COL_PINK.a = a; } }