JAL-2439 Fixed opposite out-by-one problem in wrapped panels
[jalview.git] / src / jalview / gui / SeqCanvas.java
index 19464ae..64e5fdc 100755 (executable)
@@ -588,7 +588,7 @@ public class SeqCanvas extends JComponent
                 (int) clip.getBounds().getHeight());
       }
 
-      drawPanel(g, startRes, endx, 0, al.getHeight(), ypos);
+      drawPanel(g, startRes, endx, 0, al.getHeight() - 1, ypos);
 
       if (av.isShowAnnotation())
       {