Skip to content

Commit d8ac209

Browse files
authored
Fix race condition in image annotations loading and drawing them on the canvas (#6751)
fix race condition between annotation loading and drawing the annotations
1 parent f254d4f commit d8ac209

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/plugins/imagery/components/AnnotationsCanvas.vue

+5
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ export default {
8989
}
9090
}
9191
},
92+
watch: {
93+
imageryAnnotations() {
94+
this.drawAnnotations();
95+
}
96+
},
9297
mounted() {
9398
this.canvas = this.$refs.canvas;
9499
this.context = this.canvas.getContext('2d');

0 commit comments

Comments
 (0)