Corrects incorrect calls to ViewportRanges.setEndSeq()
[jalview.git] / src / jalview / appletgui / AlignViewport.java
index d10591e..2bead46 100644 (file)
@@ -253,7 +253,7 @@ public class AlignViewport extends AlignmentViewport
 
   public void resetSeqLimits(int height)
   {
-    ranges.setEndSeq(height / getCharHeight());
+    ranges.setEndSeq(height / getCharHeight() - 1); // BH 2019.04.18
   }
 
   boolean centreColumnLabels;