1
0
Fork 0

Skew the threshold curve parameter

Since the center values will be most interesting useful range.
This commit is contained in:
Robbert van der Helm 2022-07-24 16:24:31 +02:00
parent 068549607d
commit 455ab0364a

View file

@ -198,9 +198,11 @@ impl ThresholdParams {
curve_curve: FloatParam::new( curve_curve: FloatParam::new(
"Threshold Curve", "Threshold Curve",
0.0, 0.0,
FloatRange::Linear { FloatRange::SymmetricalSkewed {
min: -24.0, min: -24.0,
max: 24.0, max: 24.0,
factor: FloatRange::skew_factor(-1.0),
center: 0.0,
}, },
) )
.with_callback(set_update_both_thresholds.clone()) .with_callback(set_update_both_thresholds.clone())