Fix EnumParam step count after refactor
This commit is contained in:
parent
0666743cc7
commit
8acebadac0
|
@ -173,7 +173,7 @@ impl Param for EnumParamInner {
|
|||
}
|
||||
|
||||
fn step_count(&self) -> Option<usize> {
|
||||
Some(self.len())
|
||||
Some(self.len() - 1)
|
||||
}
|
||||
|
||||
fn plain_value(&self) -> Self::Plain {
|
||||
|
|
Loading…
Reference in a new issue