"fix" sliders expanding 1 unit after slider is done (reduced fading out sliderbody by 1 unit)

This commit is contained in:
yugecin 2017-03-03 23:27:22 +01:00
parent c6917856b9
commit 2b4ca9198d

View File

@ -972,7 +972,7 @@ public class GameData {
float oldWhiteAlpha = Colors.WHITE_FADE.a;
float oldColorAlpha = hitResult.color.a;
Colors.WHITE_FADE.a = hitResult.color.a = alpha;
hitResult.curve.draw(hitResult.color);
hitResult.curve.draw(hitResult.color, Options.isMergingSliders() ? 1 : 0, hitResult.curve.getCurvePoints().length);
Colors.WHITE_FADE.a = oldWhiteAlpha;
hitResult.color.a = oldColorAlpha;
}