Merge branch 'develop' of ssh://git.mnml.gg:40022/~/mnml into develop

This commit is contained in:
ntr 2019-10-27 13:20:40 +11:00
commit e98235f6f9

View File

@ -1,6 +1,7 @@
const anime = require('animejs').default; const anime = require('animejs').default;
function wiggle(id, idle) { function wiggle(id, idle) {
if (!idle) return true;
const duration = 300; const duration = 300;
const target = document.getElementById(id); const target = document.getElementById(id);
const x = window.innerWidth * 0.01 * (Math.round(Math.random()) ? Math.random() : -Math.random()); const x = window.innerWidth * 0.01 * (Math.round(Math.random()) ? Math.random() : -Math.random());