Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Jan 24, 2023
1 parent dae9088 commit eeede6e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/OSDAnnotationLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -722,10 +722,8 @@ export class AnnotationLayer extends EventEmitter {

this.selectedShape.mouseTracker = editableShapeMouseTracker;

this.selectedShape.on('update', fragment => {
toolForAnnotation.destroy();
this.emit('updateTarget', this.selectedShape.element, fragment)
});
this.selectedShape.on('update', fragment =>
this.emit('updateTarget', this.selectedShape.element, fragment));
} else {
this.selectedShape = shape;

Expand Down

0 comments on commit eeede6e

Please sign in to comment.