Skip to content

Commit

Permalink
GH-314 fix delete annotation regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Corless committed Feb 3, 2024
1 parent 4ec6874 commit 4517baf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ public ArrayList<AbstractAnnotationComponent> getAnnotationComponents() {
public AnnotationComponent getComponentFor(Annotation annot) {
if (annotationToComponent == null) {
initializeAnnotationsComponent(getPage());
}
if (annotationToComponent != null) {
return annotationToComponent.get(annot.getPObjectReference());
}
return null;
Expand Down

0 comments on commit 4517baf

Please sign in to comment.