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

fix empty function

parent 2b91b780
No related branches found
No related tags found
No related merge requests found
...@@ -154,7 +154,10 @@ export class ToolPoint extends AbsToolClass implements IAnnotationTools, OnDestr ...@@ -154,7 +154,10 @@ export class ToolPoint extends AbsToolClass implements IAnnotationTools, OnDestr
* @param id id of annotation * @param id id of annotation
*/ */
removeAnnotation(id: string) { removeAnnotation(id: string) {
const idx = this.managedAnnotations.findIndex(ann => id === ann.id)
this.managedAnnotations.splice(idx, 1)
this.managedAnnotations$.next(this.managedAnnotations)
} }
onMouseMoveRenderPreview(pos: [number, number, number]) { onMouseMoveRenderPreview(pos: [number, number, number]) {
......
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