return;
}
- removeAnnotations();
+ removeAnnotation();
AlignmentI alignment = alignViewport.getAlignment();
if (alignment != null)
{
ap.adjustAnnotationHeight();
ap.paintAlignment(true);
}
-
- }
-
- /**
- * Remove all our annotations before re-calculating them
- */
- void removeAnnotations()
- {
- for (AlignmentAnnotation ann : ourAnnots)
- {
- alignViewport.getAlignment().deleteAnnotation(ann);
- }
- ourAnnots.clear();
}
@Override