Skip to content

Commit

Permalink
fix(midi): Removed debugger and added correct boolean assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPietrusky committed Aug 18, 2019
1 parent 183ef97 commit bed081f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/components/midi-controller/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,6 @@ class MidiController extends connect(store)(LitElement) {
const ccasnoteon = data.has('ccasnoteon')
const controllerId = this.id

debugger

store.dispatch(setMidi(controllerId, {
name,
input,
Expand Down Expand Up @@ -294,7 +292,6 @@ class MidiController extends connect(store)(LitElement) {
<midi-grid
width="${width}"
height="${height}"
cc
.mapping="${mapping}"
.controllerId="${id}"></midi-grid>
Expand Down
5 changes: 4 additions & 1 deletion src/components/midi-manager/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ class MidiManager extends connect(store)(LitElement) {
<label for="height">Height</label>
<input name="height" type="number" min="1" max="255" required />
<label for="ccasnoteon">CC as NoteOn</label>
<input name="ccasnoteon" type="checkbox" />
<button type="submit">Add controller</button>
</form>
`
Expand All @@ -146,7 +149,7 @@ class MidiManager extends connect(store)(LitElement) {
outputname="${controller.output}"
width="${controller.width}"
height="${controller.height}"
ccasnoteon="${controller.ccasnoteon}">
?ccasnoteon="${controller.ccasnoteon}">
</midi-controller>
${
Expand Down

0 comments on commit bed081f

Please sign in to comment.