index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-08-08 15:27:12 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-08-08 15:27:12 -0700 |
commit | 23188152c91a8e638ab832fa1fa122d59d1fc391 (patch) | |
tree | d8568304a5b4b91f4864a540619493a511a4bb24 /node_modules/pan-zoom/src/modules/pan.js | |
parent | b970b34a8848a65a44f1e3a64465270845371492 (diff) |
Add additional params to observable calls; reveal counter and record logic on selections
Diffstat (limited to 'node_modules/pan-zoom/src/modules/pan.js')
-rw-r--r-- | node_modules/pan-zoom/src/modules/pan.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/pan-zoom/src/modules/pan.js b/node_modules/pan-zoom/src/modules/pan.js index 428f4b4..98fc74b 100644 --- a/node_modules/pan-zoom/src/modules/pan.js +++ b/node_modules/pan-zoom/src/modules/pan.js @@ -35,7 +35,7 @@ export function manualPan(gb, counter) { gb.style.transition = 'transform 0.5s'; gb.style.transform = mtx.multiply(getTranslateMatrix(startPt, movePt)); - gb.addEventListener('transitionend', () => gb.style.transition = ''); + gb.addEventListener('transitionend', () => gb.style.transition = '', { once: true }); } export default function (svg, el, e) { |