From 7650fb16a5dc4309716e75f3a505fe4bdce2de9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Tue, 17 Jan 2023 22:42:21 +0000 Subject: [PATCH] mouse handler names --- ui/src/components/rects/RectPad.vue | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) 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);