From 7d451923bf2ad5a358109eed435f354fc935f6ab Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 1 May 2006 13:22:58 +0000 Subject: [PATCH] Fixes redraw top of group bug --- src/jalview/appletgui/SeqCanvas.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/jalview/appletgui/SeqCanvas.java b/src/jalview/appletgui/SeqCanvas.java index c5b4324..3e47139 100755 --- a/src/jalview/appletgui/SeqCanvas.java +++ b/src/jalview/appletgui/SeqCanvas.java @@ -522,11 +522,10 @@ public class SeqCanvas group.sequences.contains(av.alignment.getSequenceAt( i))) { - if (bottom == -1) + if ((bottom == -1) && + !group.sequences.contains( + av.alignment.getSequenceAt(i + 1))) { - if(i == endSeq-1 || // Dont check for i+1 if on the bottom row - !group.sequences.contains(av.alignment.getSequenceAt(i+1 ))) - bottom = sy + av.charHeight; } -- 1.7.10.2