feature/return-to-starting-point-button #26

Merged
balazs merged 9 commits from feature/return-to-starting-point-button into develop 2021-04-29 18:55:22 +02:00
2 changed files with 8 additions and 1 deletions
Showing only changes of commit 5c8f3d6fb9 - Show all commits

View File

@ -201,7 +201,7 @@
width: 100%;
}
#navigation {
bottom: 30px;
bottom: 25px;
left: 10px;
width: 45px;
}

View File

@ -379,6 +379,9 @@
document.getElementById('currentRound').innerHTML = String(Game.rounds.length) + '/' + String(Game.NUMBER_OF_ROUNDS);
Game.loadPano(Game.panoId, Game.pov);
// needs to be set visible after the show guess map hid it in mobile view
document.getElementById("navigation").style.visibility = 'visible';
},
handleErrorResponse: function (error) {
@ -938,4 +941,8 @@
}
});
}
document.getElementById('returnToStart').onclick = function () {
Game.loadPano(Game.panoId, Game.pov);
}
})();