diff --git a/src/editor.rs b/src/editor.rs index 7fc8d85..d5681be 100644 --- a/src/editor.rs +++ b/src/editor.rs @@ -113,11 +113,12 @@ fn full_parameters(cx: &mut Context) { HStack::new(cx, |cx| { Label::new(cx, "dry/wet").class("slider-label"); ParamSlider::new(cx, Data::params, |params| ¶ms.global.dry_wet) + .set_style(ParamSliderStyle::FromLeft) .class("widget"); }) .class("row"); HStack::new(cx, |cx| { - Label::new(cx, "mutes").class("slider-label"); + Label::new(cx, "mute mode").class("slider-label"); ParamSlider::new(cx, Data::params, |params| ¶ms.global.mute_is_toggle) .set_style(ParamSliderStyle::CurrentStepLabeled { even: true }) .class("widget"); @@ -319,6 +320,7 @@ fn filter_parameters(cx: &mut Context) { HStack::new(cx, |cx| { Label::new(cx, "cutoff").class("slider-label"); ParamSlider::new(cx, Data::params, |params| ¶ms.taps.cutoff_main) + .set_style(ParamSliderStyle::FromLeft) .class("widget"); }) .class("row"); @@ -379,11 +381,12 @@ fn minimal_parameters(cx: &mut Context) { HStack::new(cx, |cx| { Label::new(cx, "dry/wet").class("slider-label"); ParamSlider::new(cx, Data::params, |params| ¶ms.global.dry_wet) + .set_style(ParamSliderStyle::FromLeft) .class("widget"); }) .class("row"); HStack::new(cx, |cx| { - Label::new(cx, "mutes").class("slider-label"); + Label::new(cx, "mute mode").class("slider-label"); ParamSlider::new(cx, Data::params, |params| ¶ms.global.mute_is_toggle) .set_style(ParamSliderStyle::CurrentStepLabeled { even: true }) .class("widget"); diff --git a/src/lib.rs b/src/lib.rs index 3d9d115..0d359f2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -199,7 +199,7 @@ struct GlobalParams { impl GlobalParams { pub fn new(enabled_actions: Arc, learned_notes: Arc) -> Self { Self { - dry_wet: FloatParam::new("mix", 1.0, FloatRange::Linear { min: 0.0, max: 1.0 }) + dry_wet: FloatParam::new("mix", 0.5, FloatRange::Linear { min: 0.0, max: 1.0 }) .with_unit("%") .with_smoother(SmoothingStyle::Linear(15.0)) .with_value_to_string(formatters::v2s_f32_percentage(0))