From: amwaterhouse Date: Thu, 13 Jan 2005 12:04:28 +0000 (+0000) Subject: Renderer already has graphics context X-Git-Tag: Release_2_0~777 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c6e2247dff4ec4158d0d234a22390fae4baff178;p=jalview.git Renderer already has graphics context --- diff --git a/src/jalview/gui/SeqCanvas.java b/src/jalview/gui/SeqCanvas.java index a302747..6639774 100755 --- a/src/jalview/gui/SeqCanvas.java +++ b/src/jalview/gui/SeqCanvas.java @@ -311,7 +311,7 @@ public class SeqCanvas extends JPanel if (searchSeq >= y1 && searchSeq <= y2) { SequenceRenderer ssr = (SequenceRenderer) sr; - ssr.drawHighlightedText(g, av.getAlignment().getSequenceAt(searchSeq), + ssr.drawHighlightedText(av.getAlignment().getSequenceAt(searchSeq), searchStart, searchEnd, (searchStart - startx) * charWidth,