<= y2 is now < y2
authoramwaterhouse <Andrew Waterhouse>
Fri, 21 Jan 2005 18:30:59 +0000 (18:30 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 21 Jan 2005 18:30:59 +0000 (18:30 +0000)
src/jalview/gui/SeqCanvas.java

index 7f30c24..27a8a9c 100755 (executable)
@@ -310,7 +310,7 @@ public class SeqCanvas extends JPanel
         int searchStart = searchResults[r+1];\r
         int searchEnd = searchResults[r+2];\r
 \r
-        if (searchSeq >= y1 && searchSeq <= y2)\r
+        if (searchSeq >= y1 && searchSeq < y2)\r
         {\r
           SequenceRenderer ssr = (SequenceRenderer) sr;\r
           ssr.drawHighlightedText(av.getAlignment().getSequenceAt(searchSeq),\r