This commit is contained in:
Stefano Haagman 2022-04-08 15:59:37 +02:00
parent 15624c9db2
commit 307557882f

View file

@ -756,7 +756,7 @@ function initView(){
,e.touches[0].clientY
];
}
}, );
},{passive: true} );
container.addEventListener("mouseup", function(e){
if(Math.abs(lastPos[0] - e.clientX) + Math.abs(lastPos[1] - e.clientY) <= 4){