Space will now work to progress mission along with mouse click.
Implemented size tag from utage. Translations updated.
This commit is contained in:
parent
4e982cdd3d
commit
6734df9dec
5 changed files with 199 additions and 178 deletions
|
@ -326,6 +326,14 @@ function dialogScrollDown(event) {
|
|||
textFunc.scrollTextDown();
|
||||
}
|
||||
|
||||
function onBodyKey(event) {
|
||||
if(event.code.toLowerCase() === "space") {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
player.onMainClick(event);
|
||||
}
|
||||
}
|
||||
|
||||
function toggleMute(event) {
|
||||
isMuted = !isMuted;
|
||||
if(audio) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue