index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'node_modules/pan-zoom/src')
-rw-r--r-- | node_modules/pan-zoom/src/modules/pan.js | 6 |
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 } ); } |