pause when annotating

This commit is contained in:
Scott Bell 2023-05-09 11:55:58 +02:00
parent 09df2f64f2
commit 3bff7f9f32
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -100,6 +100,7 @@
v-if="shouldDisplayAnnotations"
:image="focusedImage"
:imagery-annotations="imageryAnnotations[focusedImage.time]"
@annotationMarqueed="handlePauseButton(true)"
/>
</div>
</div>