From 3bff7f9f327b26f97dbba89eaf08f7b4f4cfff36 Mon Sep 17 00:00:00 2001 From: Scott Bell Date: Tue, 9 May 2023 11:55:58 +0200 Subject: [PATCH] pause when annotating --- src/plugins/imagery/components/AnnotationsCanvas.vue | 1 + src/plugins/imagery/components/ImageryView.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/src/plugins/imagery/components/AnnotationsCanvas.vue b/src/plugins/imagery/components/AnnotationsCanvas.vue index 53bef32799..c8924df896 100644 --- a/src/plugins/imagery/components/AnnotationsCanvas.vue +++ b/src/plugins/imagery/components/AnnotationsCanvas.vue @@ -315,6 +315,7 @@ export default { return selection; }, startAnnotationDrag(event) { + this.$emit('annotationMarqueed'); this.newAnnotationRectangle = {}; const boundingRect = this.canvas.getBoundingClientRect(); const scaleX = this.canvas.width / boundingRect.width; diff --git a/src/plugins/imagery/components/ImageryView.vue b/src/plugins/imagery/components/ImageryView.vue index 82bebbc587..ad0f0148c0 100644 --- a/src/plugins/imagery/components/ImageryView.vue +++ b/src/plugins/imagery/components/ImageryView.vue @@ -100,6 +100,7 @@ v-if="shouldDisplayAnnotations" :image="focusedImage" :imagery-annotations="imageryAnnotations[focusedImage.time]" + @annotationMarqueed="handlePauseButton(true)" />