{@html Logo}
{ if ((e.which === 1 || e.button === 0) && isDraggable(e)) { const { x, y } = eleXY(e, viewPort) viewDragStart = { x, y } startPos = [$contentPos.x, $contentPos.y] down = true } }} on:mouseup={e => { viewDragOffset = [0, 0] if ((e.which === 1 || e.button === 0) && isDraggable(e)) { down = false } onViewDragEnd() }} >