Try again tomorrow

master
Toerd@480 5 years ago
parent 44e901d559
commit c33c11237e

@ -25,10 +25,10 @@ function zoom(factor, imgName) {
img.style.opacity = 0; img.style.opacity = 0;
}); });
img.addEventListener("touchmove", (e) => { // img.addEventListener("touchmove", (e) => {
e.preventDefault(); // e.preventDefault();
moveBackground(getOffsetToMiddle(e)); // moveBackground(getOffsetToMiddle(e));
}); // });
img.addEventListener("mousemove", (e) => { img.addEventListener("mousemove", (e) => {
moveBackground(getOffsetToMiddle(e)); moveBackground(getOffsetToMiddle(e));

Loading…
Cancel
Save