fix mobile rotation

This commit is contained in:
Never Gude 2026-02-22 13:12:13 +01:00
parent a1fd239d8f
commit ea6fc08056
2 changed files with 2 additions and 2 deletions

View file

@ -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})`;

View file

@ -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})`;