ndleKeyUp = (e) => {
          if (e.code === 'Space') {
            isSpacePressed.value = false
            isDragging.value = false
          }
        }

        // Handle mouse down (start dragging)
        const handleMouseDown = (e) => {
          if (isSpacePressed.value || e.button === 1) {
            isDragging.value = true
            lastMouseX = e.clientX
            lastMouseY = e.clientY
            e.preventDefault()
          }
        }

        // Handle mouse move (movement while draggi