let sliders shrink one point more for more fluent shrinking

This commit is contained in:
yugecin 2016-12-13 15:45:18 +01:00
parent d7d28a559b
commit cb09e2149c

View File

@ -429,7 +429,7 @@ public class Slider extends GameObject {
if (repeats % 2 == 0) {
game.spliceSliderCurve(baseSliderFrom + (int) ((1d - curveIntervalFrom) * curvelen) - 1, baseSliderFrom + curvelen);
} else {
game.setSlidercurveFrom(baseSliderFrom + (int) (curveIntervalFrom * curvelen));
game.setSlidercurveFrom(baseSliderFrom + (int) (curveIntervalFrom * curvelen) + 1);
}
}
game.setSlidercurveTo(baseSliderFrom + (int) (curveIntervalTo * curve.getCurvePoints().length));