diff --git a/ui/src/components/rects/RectPad.vue b/ui/src/components/rects/RectPad.vue index b0d91b1..1e04f32 100644 --- a/ui/src/components/rects/RectPad.vue +++ b/ui/src/components/rects/RectPad.vue @@ -3,9 +3,10 @@ xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" preserveAspectRatio="none" - @pointerdown="on_pointerdown" - @pointermove="on_pointermove" - @pointerup="on_pointerup" + @mousedown.left="draw_start" + @mousemove="on_mousemove" + @mouseup.left="draw_finish" + @contextmenu.prevent="" > = this.min_rect_area) { this.rectangles.push(this.preview_rectangle);