Skew the threshold curve parameter
Since the center values will be most interesting useful range.
This commit is contained in:
parent
068549607d
commit
455ab0364a
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue