terrain-generator

digital terrain generation and animation
git clone https://tongong.net/git/terrain-generator.git
Log | Files | Refs | README

commit a512ce66055ea61850b3c40913ea874a6dc2dde4
parent 3743ee9e9b20db3d0f467466cec8ff08c39c08d7
Author: tongong <tongong@gmx.net>
Date:   Sun, 18 Aug 2019 15:13:41 +0200

touch approvements

Diffstat:
Mscripts/interface.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/scripts/interface.js b/scripts/interface.js @@ -10,6 +10,9 @@ function initIconAnimation() { this.classList.remove("animated"); }, false); } + document.getElementById("reload").addEventListener('touchstart', function() { + this.clasaslist.add("animated"); + }, false); document.getElementById("reload").addEventListener("click", function() { if (state == 3) { refreshTime = millis();