+1 in fastpaint sends coloured text outofbounds
authoramwaterhouse <Andrew Waterhouse>
Mon, 25 Apr 2005 16:50:27 +0000 (16:50 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 25 Apr 2005 16:50:27 +0000 (16:50 +0000)
src/jalview/gui/SeqCanvas.java

index 492745f..30a8090 100755 (executable)
@@ -122,7 +122,7 @@ public void fastPaint(int horizontal, int vertical)
     gg.copyArea(0, 0, imgWidth, imgHeight, -horizontal * av.charWidth,\r
                 -vertical * av.charHeight);\r
 \r
-    int sr = av.startRes, er = av.endRes + 1, ss = av.startSeq, es = av.endSeq,\r
+    int sr = av.startRes, er = av.endRes, ss = av.startSeq, es = av.endSeq,\r
         transX = 0, transY = 0;\r
     if (horizontal > 0) // scrollbar pulled right, image to the left\r
     {\r