diff --git a/package.json b/package.json index c41900879b..c07fbbb4d2 100644 --- a/package.json +++ b/package.json @@ -122,5 +122,8 @@ "Safari >= 16" ], "author": "", - "license": "Apache-2.0" + "license": "Apache-2.0", + "dependencies": { + "flatbush": "^4.1.0" + } } diff --git a/src/plugins/imagery/components/AnnotationsCanvas.vue b/src/plugins/imagery/components/AnnotationsCanvas.vue index 539834f246..dc68863840 100644 --- a/src/plugins/imagery/components/AnnotationsCanvas.vue +++ b/src/plugins/imagery/components/AnnotationsCanvas.vue @@ -25,16 +25,20 @@ ref="canvas" class="c-image-canvas" style="width: 100%; height: 100%;" - @mousedown="startAnnotationDrag" + @mousedown="mouseDown = true" @mousemove="trackAnnotationDrag" - @click="createAnnotationSelection" + @click="selectOrCreateAnnotation" >