ng)
        const handleMouseMove = (e) => {
          if (isDragging.value) {
            const dx = (e.clientX - lastMouseX) / scale.value
            const dy = (e.clientY - lastMouseY) / scale.value
            posX.value += dx
            posY.value += dy
            lastMouseX = e.clientX
            lastMouseY = e.clientY
            e.preventDefault()
          }
        }

        // Handle mouse up (end dragging)
        const handleMouseUp = (e) => {
          if (e.button === 1) {
            e.