From 193558cf2b5905e77fd402cf2fc204adcaa74b69 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 21 Jan 2005 18:30:59 +0000 Subject: [PATCH] <= y2 is now < y2 --- 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 7f30c24..27a8a9c 100755 --- a/src/jalview/gui/SeqCanvas.java +++ b/src/jalview/gui/SeqCanvas.java @@ -310,7 +310,7 @@ public class SeqCanvas extends JPanel int searchStart = searchResults[r+1]; int searchEnd = searchResults[r+2]; - if (searchSeq >= y1 && searchSeq <= y2) + if (searchSeq >= y1 && searchSeq < y2) { SequenceRenderer ssr = (SequenceRenderer) sr; ssr.drawHighlightedText(av.getAlignment().getSequenceAt(searchSeq), -- 1.7.10.2