From c6e2247dff4ec4158d0d234a22390fae4baff178 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 13 Jan 2005 12:04:28 +0000 Subject: [PATCH] Renderer already has graphics context --- src/jalview/gui/SeqCanvas.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 1.7.10.2