fix shrinking knorkesliders
This commit is contained in:
parent
ab37d438e0
commit
6238f378be
|
@ -414,7 +414,7 @@ public class Slider extends GameObject {
|
||||||
if (Options.isMergingSliders()) {
|
if (Options.isMergingSliders()) {
|
||||||
if (Options.isShrinkingSliders() && curveIntervalFrom > 0) {
|
if (Options.isShrinkingSliders() && curveIntervalFrom > 0) {
|
||||||
if (repeats % 2 == 0) {
|
if (repeats % 2 == 0) {
|
||||||
game.spliceSliderCurve(baseSliderFrom + (int) ((1d - curveIntervalFrom) * curvelen), baseSliderFrom + curvelen + 1);
|
game.spliceSliderCurve(baseSliderFrom + (int) ((1d - curveIntervalFrom) * curvelen) - 1, baseSliderFrom + curvelen);
|
||||||
} else {
|
} else {
|
||||||
game.setSlidercurveFrom(baseSliderFrom + (int) (curveIntervalFrom * curvelen));
|
game.setSlidercurveFrom(baseSliderFrom + (int) (curveIntervalFrom * curvelen));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user