Translation should not be adjusted outside annotation loop
authoramwaterhouse <Andrew Waterhouse>
Tue, 28 Nov 2006 09:43:51 +0000 (09:43 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 28 Nov 2006 09:43:51 +0000 (09:43 +0000)
src/jalview/gui/SeqCanvas.java

index 1e66928..8a873a2 100755 (executable)
@@ -417,7 +417,7 @@ public class SeqCanvas extends JComponent
      */\r
     String getMask()\r
     {\r
-      String mask = "0";\r
+      String mask = "00";\r
       int maxWidth = 0;\r
       int tmp;\r
       for(int i=0; i<av.alignment.getHeight(); i++)\r
@@ -569,8 +569,6 @@ public class SeqCanvas extends JComponent
             g.translate(-LABEL_WEST, 0);\r
 \r
             ypos += cHeight+getAnnotationHeight()+hgap;\r
-            if(av.showAnnotation)\r
-              ypos -= 3;\r
 \r
             startRes += cWidth;\r
         }\r