Skip to content

Commit

Permalink
fix(annotations): Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingze Xiao committed Nov 6, 2020
1 parent 9f00f09 commit 2d320ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/viewers/BaseViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -919,8 +919,8 @@ class BaseViewer extends EventEmitter {
if (this.annotator && this.annotationControls && this.areNewAnnotationsEnabled()) {
this.annotator.toggleAnnotationMode(AnnotationMode.NONE);
this.annotationControls.toggle(false);
this.processAnnotationModeChange(this.annotationControlsFSM.transition(AnnotationInput.RESET));
}
this.processAnnotationModeChange(this.annotationControlsFSM.transition(AnnotationInput.RESET));
}

enableAnnotationControls() {
Expand Down

0 comments on commit 2d320ca

Please sign in to comment.