From: amwaterhouse Date: Mon, 1 May 2006 13:22:58 +0000 (+0000) Subject: Fixes redraw top of group bug X-Git-Tag: Release_2_08_1~14 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7d451923bf2ad5a358109eed435f354fc935f6ab;p=jalview.git Fixes redraw top of group bug --- 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; }