From: gmungoc Date: Fri, 9 Feb 2018 12:03:57 +0000 (+0000) Subject: JAL-2666 fix failure to scroll split alignment of height 1 X-Git-Tag: Release_2_10_4~61^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=05342e617dd2e0d7e5f29efca20a6c3d581becfd;p=jalview.git JAL-2666 fix failure to scroll split alignment of height 1 --- diff --git a/src/jalview/viewmodel/AlignmentViewport.java b/src/jalview/viewmodel/AlignmentViewport.java index a0cbff4..bca3c85 100644 --- a/src/jalview/viewmodel/AlignmentViewport.java +++ b/src/jalview/viewmodel/AlignmentViewport.java @@ -2781,7 +2781,7 @@ public abstract class AlignmentViewport int lastSeq = alignment.getHeight() - 1; List seqMappings = null; for (int seqNo = ranges - .getStartSeq(); seqNo < lastSeq; seqNo++, seqOffset++) + .getStartSeq(); seqNo <= lastSeq; seqNo++, seqOffset++) { sequence = getAlignment().getSequenceAt(seqNo); if (hiddenSequences != null && hiddenSequences.isHidden(sequence))