This commit is contained in:
Kyle
2019-08-18 16:38:51 -07:00
parent b419a89307
commit 32546ad6dd
2 changed files with 11 additions and 3 deletions

View File

@@ -321,4 +321,13 @@ function clockCheck(tappedPlayerBox, lastTapID) {
tappedPlayerBox.holdTime = 0
}
}
//Hopefully stops the pesky double-tap zoom:
var doubleTouchStartTimestamp = 0
document.getElementById("mainGrid").addEventListener("touchstart", function() {
var now = +(new Date())
if (doubleTouchStartTimestamp + 500 > now){
event.preventDefault()
}
doubleTouchStartTimestamp = now
})
//Updated :D

View File

@@ -231,8 +231,8 @@
width: 7.5em;
}
#inputWakeLock {
position: relative;
top: -0.2em;
/*position: relative;
top: -0.2em;*/
margin: 0.25em;
height: auto;
width: auto;
@@ -256,6 +256,5 @@
}
</style>
<script src="data/life/NoSleep.js"></script>
<script src="https://gist.github.com/lucasdidthis/8a2ecf406634e9ad9ca1.js"></script>
<script src="data/life/life.js"></script>
<html>