JAL-3377 include seq-annotation spacing in getWrappedHeight()
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 29 Jul 2019 10:20:44 +0000 (11:20 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 29 Jul 2019 10:21:43 +0000 (11:21 +0100)
src/jalview/gui/AlignmentPanel.java

index 92b9a50..b6cf419 100644 (file)
@@ -1438,6 +1438,7 @@ public class AlignmentPanel extends GAlignmentPanel implements
     int annotationHeight = 0;
     if (av.isShowAnnotation())
     {
+      hgap += SeqCanvas.SEQS_ANNOTATION_GAP;
       annotationHeight = getAnnotationPanel().adjustPanelHeight();
     }