JAL-2439 Fixed opposite out-by-one problem in wrapped panels
[jalview.git] / src / jalview / appletgui / SeqCanvas.java
index 0fd1e53..89df11f 100755 (executable)
@@ -501,7 +501,7 @@ public class SeqCanvas extends Panel
         g.setClip(0, 0, cWidth * avcharWidth, canvasHeight);
       }
 
-      drawPanel(g, startRes, endx, 0, al.getHeight(), ypos);
+      drawPanel(g, startRes, endx, 0, al.getHeight() - 1, ypos);
       g.setClip(null);
 
       if (av.isShowAnnotation())