drum-machine bind key 'v' to .focus();

This commit is contained in:
Trent Palmer 2020-05-27 12:07:34 -07:00
parent 7ee69b2bcd
commit 0e66e7f75d

View File

@ -26,7 +26,8 @@ $(document).ready(function () {
makeVolumeSelection('( cancel -- back )');
} else if (e.keyCode === 27 && metronomeMenuDisplayed) {
makeMetronomeSelection('( cancel -- back )');
} else if ([37,38,39,40].includes(e.keyCode)) {
} else if (e.keyCode === 86) {
$('#volume .ui-slider-handle').focus();
}
});