From a2251509ee3aa1e8278bfd0cbefdba0e784b4cda Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Fri, 11 Nov 2022 21:52:00 +0100 Subject: [PATCH] Move the octaves label to filter spread unit Instead of having this in the parameter's name. Looks better in the GUI. --- plugins/diopser/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/diopser/src/lib.rs b/plugins/diopser/src/lib.rs index 77870e30..2fbebc44 100644 --- a/plugins/diopser/src/lib.rs +++ b/plugins/diopser/src/lib.rs @@ -225,7 +225,7 @@ impl DiopserParams { .with_smoother(SmoothingStyle::Logarithmic(100.0)) .with_value_to_string(formatters::v2s_f32_rounded(2)), filter_spread_octaves: FloatParam::new( - "Filter Spread Octaves", + "Filter Spread", 0.0, FloatRange::SymmetricalSkewed { min: -5.0, @@ -234,6 +234,7 @@ impl DiopserParams { center: 0.0, }, ) + .with_unit(" octaves") .with_step_size(0.01) .with_smoother(SmoothingStyle::Linear(100.0)), filter_spread_style: EnumParam::new("Filter Spread Style", SpreadStyle::Octaves)