mirror of
https://github.com/TrentSPalmer/fcc-challenges.git
synced 2024-11-24 04:11:30 -08:00
drum-machine bind key 'v' to .focus();
This commit is contained in:
parent
7ee69b2bcd
commit
0e66e7f75d
@ -26,7 +26,8 @@ $(document).ready(function () {
|
|||||||
makeVolumeSelection('( cancel -- back )');
|
makeVolumeSelection('( cancel -- back )');
|
||||||
} else if (e.keyCode === 27 && metronomeMenuDisplayed) {
|
} else if (e.keyCode === 27 && metronomeMenuDisplayed) {
|
||||||
makeMetronomeSelection('( cancel -- back )');
|
makeMetronomeSelection('( cancel -- back )');
|
||||||
} else if ([37,38,39,40].includes(e.keyCode)) {
|
} else if (e.keyCode === 86) {
|
||||||
|
$('#volume .ui-slider-handle').focus();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user