From 05342e617dd2e0d7e5f29efca20a6c3d581becfd Mon Sep 17 00:00:00 2001 From: gmungoc Date: Fri, 9 Feb 2018 12:03:57 +0000 Subject: [PATCH] JAL-2666 fix failure to scroll split alignment of height 1 --- src/jalview/viewmodel/AlignmentViewport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 1.7.10.2