fix space to scroll page #728
This commit is contained in:
parent
a8ad926186
commit
4345eaa8d0
1 changed files with 6 additions and 0 deletions
|
@ -67,6 +67,12 @@ const Events = {
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Prevent Scrolling on spacebar
|
||||||
|
if (event.keyCode === 32 && event.target === document.body) {
|
||||||
|
event.preventDefault()
|
||||||
|
app.SpacePause()
|
||||||
|
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Hang Timer
|
// Hang Timer
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue