mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 22:42:24 +00:00
Fix race condition in image annotations loading and drawing them on the canvas (#6751)
fix race condition between annotation loading and drawing the annotations
This commit is contained in:
parent
f254d4f078
commit
d8ac209a96
@ -89,6 +89,11 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
imageryAnnotations() {
|
||||
this.drawAnnotations();
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.canvas = this.$refs.canvas;
|
||||
this.context = this.canvas.getContext('2d');
|
||||
|
Loading…
Reference in New Issue
Block a user