From ea6fc0805652f02e2583c1f0fcb3c25ef193444b Mon Sep 17 00:00:00 2001 From: Never Gude Date: Sun, 22 Feb 2026 13:12:13 +0100 Subject: [PATCH] fix mobile rotation --- public_html/eh/eh/eh/eh-eh/scripts/shork.js | 2 +- scripts/shork.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public_html/eh/eh/eh/eh-eh/scripts/shork.js b/public_html/eh/eh/eh/eh-eh/scripts/shork.js index c088599..ca70a14 100644 --- a/public_html/eh/eh/eh/eh-eh/scripts/shork.js +++ b/public_html/eh/eh/eh/eh-eh/scripts/shork.js @@ -4,7 +4,7 @@ let zoomies = 4; let turnies = 0.2; let shork = {x: 4, y: 8}; -let rotation = Math.PI/2; +let rotation = 0; let shork_init = transform(shork, -rotation); shork_image.style.transform = `matrix(${shork_init.a}, ${shork_init.b}, ${shork_init.c}, ${shork_init.d}, ${shork_init.x}, ${shork_init.y})`; diff --git a/scripts/shork.js b/scripts/shork.js index c088599..ca70a14 100644 --- a/scripts/shork.js +++ b/scripts/shork.js @@ -4,7 +4,7 @@ let zoomies = 4; let turnies = 0.2; let shork = {x: 4, y: 8}; -let rotation = Math.PI/2; +let rotation = 0; let shork_init = transform(shork, -rotation); shork_image.style.transform = `matrix(${shork_init.a}, ${shork_init.b}, ${shork_init.c}, ${shork_init.d}, ${shork_init.x}, ${shork_init.y})`;