1
0
Fork 0

Fix EnumParam step count after refactor

This commit is contained in:
Robbert van der Helm 2022-03-03 21:34:04 +01:00
parent 0666743cc7
commit 8acebadac0

View file

@ -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 {