AnnotationLabels labels = null;
if (alignViewport.isShowAnnotation())
{
- hgap += SeqCanvas.SEQS_ANNOTATION_GAP;
if (ap == null)
{
ap = new AnnotationPanel(alignViewport);
}
- annotationHeight = ap.adjustPanelHeight();
+ annotationHeight = ap.adjustPanelHeight()
+ + SeqCanvas.SEQS_ANNOTATION_GAP;
labels = new AnnotationLabels(alignViewport);
}