make shork absolute
This commit is contained in:
parent
ea6fc08056
commit
a0e0703704
4 changed files with 6 additions and 6 deletions
|
|
@ -10,8 +10,8 @@ shork_image.style.transform = `matrix(${shork_init.a}, ${shork_init.b}, ${shork_
|
|||
|
||||
let mouse = {x: 0, y: 0};
|
||||
onmousemove = function(e){
|
||||
mouse.x = e.clientX;
|
||||
mouse.y = e.clientY;
|
||||
mouse.x = e.pageX;
|
||||
mouse.y = e.pageY;
|
||||
}
|
||||
|
||||
let direction = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue