Remove unused param from vizia gain GUI example
This commit is contained in:
parent
1241eb3db2
commit
f85c9c8d82
|
@ -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),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue