1
0
Fork 0

Also skew the slope parameter

This commit is contained in:
Robbert van der Helm 2022-07-24 17:07:35 +02:00
parent 3fe1769a43
commit 0b1d9b60db

View file

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