updated graph

This commit is contained in:
2026-06-26 01:42:16 -04:00
parent 74a8018f01
commit aeffa30417
2 changed files with 4 additions and 4 deletions

View File

@@ -71,7 +71,7 @@ function onMouseUp() { isDragging.value = false }
function onTouchStart(e: TouchEvent) {
if ((e.target as HTMLElement).classList.contains('ap-close')) return
const touch = e.touches[0]
const touch: any = e.touches[0]
const sx = touch.clientX, sy = touch.clientY
longPressTimer.value = window.setTimeout(() => {
emit('bringToFront')
@@ -82,7 +82,7 @@ function onTouchStart(e: TouchEvent) {
}
function onTouchMove(e: TouchEvent) {
if (!isDragging.value) return
const touch = e.touches[0]
const touch: any = e.touches[0]
pos.value.x = dragStart.value.ex + (touch.clientX - dragStart.value.mx)
pos.value.y = dragStart.value.ey + (touch.clientY - dragStart.value.my)
e.preventDefault()