Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/pan-zoom/src/modules')
-rw-r--r--node_modules/pan-zoom/src/modules/pan.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/node_modules/pan-zoom/src/modules/pan.js b/node_modules/pan-zoom/src/modules/pan.js
index 844524d..596d41a 100644
--- a/node_modules/pan-zoom/src/modules/pan.js
+++ b/node_modules/pan-zoom/src/modules/pan.js
@@ -76,11 +76,7 @@ export default function (svg, el, e) {
svg.addEventListener(
'pointerup',
- () => {
- svg.removeEventListener('pointermove', pointerMove);
- const t1Rect = t1.getBoundingClientRect();
- console.log('trooper1 DOM x,y', t1Rect.x, t1Rect.y);
- },
+ () => svg.removeEventListener('pointermove', pointerMove),
{ once: true }
);
}