must translate graphics back the same amountcvs diff SeqCanvas.java
authoramwaterhouse <Andrew Waterhouse>
Tue, 24 Oct 2006 11:24:04 +0000 (11:24 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 24 Oct 2006 11:24:04 +0000 (11:24 +0000)
src/jalview/gui/SeqCanvas.java

index 56e70ac..aa98e76 100755 (executable)
@@ -554,7 +554,7 @@ public class SeqCanvas extends JComponent
                 annotations = new AnnotationPanel(av);\r
 \r
               annotations.drawComponent( (Graphics2D) g, startRes, endx+1);\r
-              g.translate(0, -cHeight - ypos);\r
+              g.translate(0, -cHeight - ypos -3);\r
             }\r
             g.setClip(clip);\r
             g.translate(-LABEL_WEST, 0);\r