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:20:44 +0000 (11:20 +0100)
src/jalview/gui/AlignmentPanel.java

index 15bcfc1..97a0a4e 100644 (file)
@@ -1515,6 +1515,7 @@ public class AlignmentPanel extends GAlignmentPanel implements
     int annotationHeight = 0;
     if (av.isShowAnnotation())
     {
+      hgap += SeqCanvas.SEQS_ANNOTATION_GAP;
       annotationHeight = getAnnotationPanel().adjustPanelHeight();
     }