Version 0.9.1 - Ajout du spacebar
This commit is contained in:
parent
fdfdf2835c
commit
4662085aa5
@ -1053,6 +1053,15 @@ play.addEventListener('click', () => {
|
||||
get("PAUSE")
|
||||
})
|
||||
|
||||
document.body.onkeyup = function(e) {
|
||||
if (e.key == " " ||
|
||||
e.code == "Space" ||
|
||||
e.keyCode == 32
|
||||
) {
|
||||
play.click()
|
||||
}
|
||||
}
|
||||
|
||||
backward.addEventListener('click', () => {
|
||||
|
||||
get("BACKWARD")
|
||||
|
Loading…
x
Reference in New Issue
Block a user