add log
This commit is contained in:
parent
da973da1ce
commit
5b79e295eb
1 changed files with 1 additions and 0 deletions
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue