diff --git a/nih_plug_vizia/src/widgets/generic_ui.rs b/nih_plug_vizia/src/widgets/generic_ui.rs index d1f4ddcd..446a980f 100644 --- a/nih_plug_vizia/src/widgets/generic_ui.rs +++ b/nih_plug_vizia/src/widgets/generic_ui.rs @@ -50,7 +50,9 @@ impl GenericUi { } } .set_style(match unsafe { param_ptr.step_count() } { - Some(step_count) if step_count <= 2 => ParamSliderStyle::CurrentStepLabeled, + // This looks nice for boolean values, but it's too crowded for anything beyond + // that without making the widget wider + Some(step_count) if step_count <= 1 => ParamSliderStyle::CurrentStepLabeled, Some(step_count) if step_count <= 64 => ParamSliderStyle::CurrentStep, Some(_) => ParamSliderStyle::FromLeft, // This is already the default, but continuous parameters should be drawn from