Skip to content

Commit

Permalink
fix: revert toggeNotesInState to its old state
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSusa committed Oct 16, 2019
1 parent b6a73a0 commit e6ab7e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/midi-bricks/src/reducers/slider-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ function toggleNotesInState(list, i) {
const res = {
...item,
isNoteOn: !item.isNoteOn,
val: item.isNoteOn ? item.onVal : item.offVal
val: !item.isNoteOn ? item.onVal : item.offVal
}
console.log('togglenotesinsstat', res.isNoteOn)
return res
Expand Down

0 comments on commit e6ab7e2

Please sign in to comment.