Skip to content

Commit

Permalink
limit staccato range to 0..=3
Browse files Browse the repository at this point in the history
  • Loading branch information
bates64 committed Apr 14, 2021
1 parent bbd91f0 commit e15a5f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mamar/src/interface/state/track_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ impl TrackListInterface {
range_select(ui, 3, 0..=255, 1, &mut bank_upper, |v| format!("Bank {}", v));
range_select(ui, 4, 0..=255, 1, &mut voice.patch, |v| format!("Patch {:#04X}", v));

range_select(ui, 5, 0..=4, 1, &mut bank_lower, |v| {
range_select(ui, 5, 0..=3, 1, &mut bank_lower, |v| {
match *v {
0 => "Staccato: no".to_string(),
_ => format!("Staccato: {}", v),
Expand Down

0 comments on commit e15a5f9

Please sign in to comment.