diff --git a/src/components/PaintEditor.vue b/src/components/PaintEditor.vue index 4d6eed9..93dae99 100644 --- a/src/components/PaintEditor.vue +++ b/src/components/PaintEditor.vue @@ -54,7 +54,7 @@ const { minX, minY, maxX, maxY, top, left, bottom, right, width, height, posStart, posEnd, - isDrawing, isInside + isDrawing } = useDraw({ container, onDrawStart() { @@ -104,26 +104,11 @@ function clear() { emit('clear') } -const crosshairPath = computed(() => { - const offset = Number(settings.value.thickness) - return ` - M${x.value - 8 - offset} ${y.value} L${x.value - 2 - offset} ${y.value} - M${x.value + 8 + offset} ${y.value} L${x.value + 2 + offset} ${y.value} - M${x.value} ${y.value - 8 - offset} L${x.value} ${y.value - 2 - offset} - M${x.value} ${y.value + 8 + offset} L${x.value} ${y.value + 2 + offset} - ` -}) -