Make the slider change value before mouse release
This commit is contained in:
parent
85986afc03
commit
30ea017682
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ WebMidi.enable(function (err) { //check if WebMidi.js is enabled
|
||||||
}
|
}
|
||||||
midiSelectSlider = select("#slider");
|
midiSelectSlider = select("#slider");
|
||||||
midiSelectSlider.attribute("max", WebMidi.inputs.length - 1);
|
midiSelectSlider.attribute("max", WebMidi.inputs.length - 1);
|
||||||
midiSelectSlider.changed(inputChanged);
|
midiSelectSlider.input(inputChanged);
|
||||||
midiIn = WebMidi.inputs[midiSelectSlider.value()]
|
midiIn = WebMidi.inputs[midiSelectSlider.value()]
|
||||||
inputChanged();
|
inputChanged();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue