wrap alignment id drawing bug fixed
authoramwaterhouse <Andrew Waterhouse>
Wed, 16 Feb 2005 17:56:53 +0000 (17:56 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 16 Feb 2005 17:56:53 +0000 (17:56 +0000)
src/jalview/gui/IdCanvas.java

index 973f8bc..f68d967 100755 (executable)
@@ -67,7 +67,7 @@ public class IdCanvas extends JPanel
               ypos <= getHeight() && row*av.chunkWidth<da.getWidth();\r
               ypos += chunkHeight, row++ )\r
           {\r
-            for (int i = starty; i < endy; i++)\r
+            for (int i = starty; i < av.alignment.getHeight(); i++)\r
             {\r
               SequenceI s = da.getSequenceAt(i);\r
               drawIdString(gg, s, i, 0, ypos);\r