Move the octaves label to filter spread unit
Instead of having this in the parameter's name. Looks better in the GUI.
This commit is contained in:
parent
b2f6175d54
commit
a2251509ee
|
@ -225,7 +225,7 @@ impl DiopserParams {
|
||||||
.with_smoother(SmoothingStyle::Logarithmic(100.0))
|
.with_smoother(SmoothingStyle::Logarithmic(100.0))
|
||||||
.with_value_to_string(formatters::v2s_f32_rounded(2)),
|
.with_value_to_string(formatters::v2s_f32_rounded(2)),
|
||||||
filter_spread_octaves: FloatParam::new(
|
filter_spread_octaves: FloatParam::new(
|
||||||
"Filter Spread Octaves",
|
"Filter Spread",
|
||||||
0.0,
|
0.0,
|
||||||
FloatRange::SymmetricalSkewed {
|
FloatRange::SymmetricalSkewed {
|
||||||
min: -5.0,
|
min: -5.0,
|
||||||
|
@ -234,6 +234,7 @@ impl DiopserParams {
|
||||||
center: 0.0,
|
center: 0.0,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
.with_unit(" octaves")
|
||||||
.with_step_size(0.01)
|
.with_step_size(0.01)
|
||||||
.with_smoother(SmoothingStyle::Linear(100.0)),
|
.with_smoother(SmoothingStyle::Linear(100.0)),
|
||||||
filter_spread_style: EnumParam::new("Filter Spread Style", SpreadStyle::Octaves)
|
filter_spread_style: EnumParam::new("Filter Spread Style", SpreadStyle::Octaves)
|
||||||
|
|
Loading…
Reference in a new issue