Renderer already has graphics context
authoramwaterhouse <Andrew Waterhouse>
Thu, 13 Jan 2005 12:04:28 +0000 (12:04 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 13 Jan 2005 12:04:28 +0000 (12:04 +0000)
src/jalview/gui/SeqCanvas.java

index a302747..6639774 100755 (executable)
@@ -311,7 +311,7 @@ public class SeqCanvas extends JPanel
         if (searchSeq >= y1 && searchSeq <= y2)\r
         {\r
           SequenceRenderer ssr = (SequenceRenderer) sr;\r
-          ssr.drawHighlightedText(g, av.getAlignment().getSequenceAt(searchSeq),\r
+          ssr.drawHighlightedText(av.getAlignment().getSequenceAt(searchSeq),\r
                                   searchStart,\r
                                   searchEnd,\r
                                   (searchStart - startx) * charWidth,\r