This commit is contained in:
Kyle
2019-08-11 17:19:55 -07:00
parent b0fedf6113
commit 9aa9a69f2c
2 changed files with 7 additions and 4 deletions

View File

@@ -287,3 +287,6 @@ function inputCardArtName(cardArtNameInput) {
function inputCardArtNameNumber(cardArtNameNumberInput) { function inputCardArtNameNumber(cardArtNameNumberInput) {
playerList[parseInt(document.getElementById('inputPlayer').value) - 1].canvas.customVarImage.src = cardArtUrlList[cardArtNameNumberInput - 1] playerList[parseInt(document.getElementById('inputPlayer').value) - 1].canvas.customVarImage.src = cardArtUrlList[cardArtNameNumberInput - 1]
} }
document.getElementById("gridShell").addEventListener("touchmove", function(event) {
event.preventDefault()
})

View File

@@ -52,7 +52,7 @@
Starting Life Total:<br> Starting Life Total:<br>
<input id="inputStartingLife" class="input" type="number" min="0" value="40"><br> <input id="inputStartingLife" class="input" type="number" min="0" value="40"><br>
<button id="buttonStartGame" class="input" onclick="startGame()">Game On!</button><br><br> <button id="buttonStartGame" class="input" onclick="startGame()">Game On!</button><br><br>
For a better experience, save this website to your home screen and open it from there. For an optimal experience, save this website to your home screen and open it from there.
</div> </div>
<div onclick="fullscreen()" class="hidden" id="return">CLICK ANYWHERE TO RETURN TO FULLSCREEN</div> <div onclick="fullscreen()" class="hidden" id="return">CLICK ANYWHERE TO RETURN TO FULLSCREEN</div>
<div id="gridShell"> <div id="gridShell">
@@ -120,9 +120,9 @@
} }
#gridShell { #gridShell {
display: none; display: none;
position: fixed; /*position: fixed;
top: 0; top: 0;
left: 0; left: 0;*/
} }
#gridShell:fullscreen { #gridShell:fullscreen {
display: inline-block; display: inline-block;