This commit is contained in:
isUnknown 2025-02-27 17:08:35 +01:00
parent da973da1ce
commit 5b79e295eb

View file

@ -92,6 +92,7 @@ let previousMouseYPos;
const DRAG_STEP = 20;
function enableDragToRotate(event) {
console.log(event);
if (event.type.startsWith('touch')) event.preventDefault();
const isTouch = event.type.startsWith('touch');