From e0d0ddec9ebf787eee7241f044426c81ea2a7992 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 17 Dec 2004 14:20:04 +0000 Subject: [PATCH] Doesn't draw the white box at the end of a line --- src/jalview/gui/SeqCanvas.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/SeqCanvas.java b/src/jalview/gui/SeqCanvas.java index bb65f10..a302747 100755 --- a/src/jalview/gui/SeqCanvas.java +++ b/src/jalview/gui/SeqCanvas.java @@ -197,7 +197,7 @@ public class SeqCanvas extends JPanel */ - if (y2 > starty && y1 < av.getEndSeq()) + /* if (y2 > starty && y1 < av.getEndSeq()) { fillBackground(g, Color.red, @@ -205,7 +205,7 @@ public class SeqCanvas extends JPanel offset + AlignmentUtil.getPixelHeight(starty,y1,av.getCharHeight()), (x2-x1+1)*charWidth, offset + AlignmentUtil.getPixelHeight(y1,y2,av.getCharHeight())); - } + }*/ SequenceI nextSeq; SequenceGroup group=null; -- 1.7.10.2