1
0
Fork 0

Remove unused param from vizia gain GUI example

This commit is contained in:
Robbert van der Helm 2022-03-21 23:57:12 +01:00
parent 1241eb3db2
commit f85c9c8d82

View file

@ -26,14 +26,6 @@ struct Gain {
pub struct GainParams { pub struct GainParams {
#[id = "gain"] #[id = "gain"]
pub gain: FloatParam, pub gain: FloatParam,
#[id = "foo"]
pub foo: EnumParam<Foo>,
}
#[derive(Debug, PartialEq, Eq, Enum)]
pub enum Foo {
Foo,
Bar,
} }
impl Default for Gain { impl Default for Gain {
@ -62,7 +54,6 @@ impl Default for GainParams {
.with_smoother(SmoothingStyle::Linear(50.0)) .with_smoother(SmoothingStyle::Linear(50.0))
.with_step_size(0.01) .with_step_size(0.01)
.with_unit(" dB"), .with_unit(" dB"),
foo: EnumParam::new("Foo", Foo::Bar),
} }
} }
} }