From 4acca328a7468e0b819ee85706e2933f13ab0d0a Mon Sep 17 00:00:00 2001 From: yugecin Date: Sun, 4 Dec 2016 16:11:15 +0100 Subject: [PATCH] fix bezier depending options --- src/itdelatrisu/opsu/Options.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/itdelatrisu/opsu/Options.java b/src/itdelatrisu/opsu/Options.java index 75bacc4b..65c08178 100644 --- a/src/itdelatrisu/opsu/Options.java +++ b/src/itdelatrisu/opsu/Options.java @@ -665,7 +665,8 @@ public class Options { @Override public boolean showCondition() { - return DANCE_QUAD_BEZ_USE_CUBIC_ON_SLIDERS.showCondition(); + return DANCE_QUAD_BEZ_AGGRESSIVENESS.showCondition() + && Dancer.sliderMoverController instanceof DefaultSliderMoverController; } @Override @@ -684,8 +685,7 @@ public class Options { @Override public boolean showCondition() { - return Dancer.moverFactories[Dancer.instance.getMoverFactoryIndex()] instanceof QuadraticBezierMoverFactory - && Dancer.sliderMoverController instanceof DefaultSliderMoverController; + return DANCE_QUAD_BEZ_SLIDER_AGGRESSIVENESS_FACTOR.showCondition(); } @Override @@ -709,7 +709,8 @@ public class Options { @Override public boolean showCondition() { - return DANCE_QUAD_BEZ_USE_CUBIC_ON_SLIDERS.showCondition() && DANCE_QUAD_BEZ_USE_CUBIC_ON_SLIDERS.getBooleanValue(); + return DANCE_QUAD_BEZ_USE_CUBIC_ON_SLIDERS.showCondition() + && DANCE_QUAD_BEZ_USE_CUBIC_ON_SLIDERS.getBooleanValue(); } @Override