Skip to content
Snippets Groups Projects
Commit d21bc58e authored by Xiao Gui's avatar Xiao Gui
Browse files

bugfix: fix annotation layer visibility bug

parent 974e4d36
No related branches found
No related tags found
No related merge requests found
...@@ -479,6 +479,7 @@ export class ModularUserAnnotationToolService implements OnDestroy{ ...@@ -479,6 +479,7 @@ export class ModularUserAnnotationToolService implements OnDestroy{
this.deleteNgAnnotationById(annotation.id) this.deleteNgAnnotationById(annotation.id)
continue continue
} }
if (!this.ngAnnotationLayer) continue
const localAnnotations = this.ngAnnotationLayer.layer.localAnnotations const localAnnotations = this.ngAnnotationLayer.layer.localAnnotations
const annRef = localAnnotations.references.get(annotation.id) const annRef = localAnnotations.references.get(annotation.id)
const annSpec = parseNgAnnotation(annotation) const annSpec = parseNgAnnotation(annotation)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment