diff options
| -rw-r--r-- | src/components/TimeLine.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/TimeLine.vue b/src/components/TimeLine.vue index 281f4e4..d8978e4 100644 --- a/src/components/TimeLine.vue +++ b/src/components/TimeLine.vue @@ -598,6 +598,10 @@ function onPointerMove(evt: PointerEvent){ pointerY = evt.clientY; } function onPointerUp(evt: PointerEvent){ + // Ignore if dragging between div elements + if (evt.relatedTarget != null && rootRef.value.contains(evt.relatedTarget)){ + return; + } // Remove from event cache const index = ptrEvtCache.findIndex((e) => e.pointerId == evt.pointerId); ptrEvtCache.splice(index, 1); |
