From 9e5e82ca17040d3bed971bbb692eebc787db756f Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Thu, 8 Aug 2024 13:46:10 -0700
Subject: DEBUG: map-center crosshair
---
node_modules/pan-zoom/src/modules/pan.js | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
(limited to 'node_modules/pan-zoom/src/modules/pan.js')
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 }
);
}
--
cgit v1.2.3