make sure we draw last line of wrapped alignment
authoramwaterhouse <Andrew Waterhouse>
Sat, 16 Apr 2005 15:40:32 +0000 (15:40 +0000)
committeramwaterhouse <Andrew Waterhouse>
Sat, 16 Apr 2005 15:40:32 +0000 (15:40 +0000)
src/jalview/gui/SeqCanvas.java

index c243a2e..9b44939 100755 (executable)
@@ -249,7 +249,7 @@ public void fastPaint(int horizontal, int vertical)
       int  ypos  = 2*av.charHeight;\r
 \r
 \r
-      while (ypos <= canvasHeight && endx <al.getWidth())\r
+      while (ypos <= canvasHeight)\r
       {\r
         g.setColor(Color.black);\r
 \r