(JAL-958) - normalised sequence logo for applet
[jalview.git] / src / jalview / gui / AlignmentPanel.java
index 2b4c0db..3c78573 100644 (file)
@@ -912,7 +912,7 @@ public class AlignmentPanel extends GAlignmentPanel implements
       pg.translate(-idWidth - 3, (endSeq - startSeq) * av.charHeight + 3);
       alabels.drawComponent((Graphics2D) pg, idWidth);
       pg.translate(idWidth + 3, 0);
-      annotationPanel.drawComponent((Graphics2D) pg, startRes, endRes + 1);
+      annotationPanel.renderer.drawComponent(annotationPanel, av, (Graphics2D) pg, -1, startRes, endRes + 1);
     }
 
     return Printable.PAGE_EXISTS;