Skip to content

Commit

Permalink
dry/wet FromLeft, mutes -> mute mode
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetophon committed Dec 18, 2024
1 parent ebeda7a commit 6843577
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,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| &params.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| &params.global.mute_is_toggle)
.set_style(ParamSliderStyle::CurrentStepLabeled { even: true })
.class("widget");
Expand Down Expand Up @@ -396,11 +397,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| &params.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| &params.global.mute_is_toggle)
.set_style(ParamSliderStyle::CurrentStepLabeled { even: true })
.class("widget");
Expand Down

0 comments on commit 6843577

Please sign in to comment.