Skip to content
Snippets Groups Projects
Commit 567d2fd1 authored by Olivia206's avatar Olivia206
Browse files

commented console log

parent 51cc67d7
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ class BlockWithGrab {
this.content.style.touchAction = 'pan-y';
const handlePointerMove = (event) => {
console.log('pointermove')
// console.log('pointermove')
this.isManipulated = isPointerDown;
endX = event.clientX;
hasMoved = true;
......@@ -84,7 +84,7 @@ class BlockWithGrab {
}
};
this.content.addEventListener('pointerdown', (event) => {
console.log('pointerdown')
// console.log('pointerdown')
startX = event.clientX;
isPointerDown = true;
hasMoved = false;
......@@ -94,7 +94,7 @@ class BlockWithGrab {
});
const handlePointerUp = (event) => {
console.log('pointerup')
// console.log('pointerup')
window.removeEventListener('pointermove', handlePointerMove);
window.removeEventListener('pointerup', handlePointerUp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment