Version 0.9.1 - Ajout du spacebar

This commit is contained in:
CICD - Pipeline 2023-09-11 22:56:59 +02:00
parent fdfdf2835c
commit 4662085aa5

View File

@ -1053,6 +1053,15 @@ play.addEventListener('click', () => {
get("PAUSE") get("PAUSE")
}) })
document.body.onkeyup = function(e) {
if (e.key == " " ||
e.code == "Space" ||
e.keyCode == 32
) {
play.click()
}
}
backward.addEventListener('click', () => { backward.addEventListener('click', () => {
get("BACKWARD") get("BACKWARD")