button css, only update info component when info or tutorial changes

This commit is contained in:
Mashy
2019-10-27 22:13:23 +10:00
parent 0dfe181d52
commit 200482dd79
6 changed files with 255 additions and 224 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ function wiggle(id, idle) {
const target = document.getElementById(id);
const x = window.innerWidth * 0.01 * (Math.round(Math.random()) ? Math.random() : -Math.random());
const y = window.innerHeight * 0.01 * (Math.round(Math.random()) ? Math.random() : -Math.random());
const originalX = parseFloat(idle.animations[0].currentValue);
const originalY = parseFloat(idle.animations[1].currentValue);
// console.log(x, y);