1
0
Fork 0

Use regular slides for >3 step parameters

This commit is contained in:
Robbert van der Helm 2022-07-22 15:43:55 +02:00
parent 6f92c81c1b
commit 70f50018ad

View file

@ -52,7 +52,7 @@ impl GenericUi {
Some(step_count) if step_count <= 1 => { Some(step_count) if step_count <= 1 => {
ParamSliderStyle::CurrentStepLabeled { even: true } ParamSliderStyle::CurrentStepLabeled { even: true }
} }
Some(step_count) if step_count <= 64 => { Some(step_count) if step_count <= 2 => {
ParamSliderStyle::CurrentStep { even: true } ParamSliderStyle::CurrentStep { even: true }
} }
Some(_) => ParamSliderStyle::FromLeft, Some(_) => ParamSliderStyle::FromLeft,