From: kiramt Date: Thu, 9 Nov 2017 14:35:12 +0000 (+0000) Subject: JAL-2759 make bounds correct for left scrolling with hidden cols X-Git-Tag: Release_2_10_4~55^2~1^2~74 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ea06b90e5c49d114c414d1e739a82694d0de12e7;p=jalview.git JAL-2759 make bounds correct for left scrolling with hidden cols --- diff --git a/src/jalview/datamodel/HiddenColumns.java b/src/jalview/datamodel/HiddenColumns.java index b86a1a1..dd1e1b3 100644 --- a/src/jalview/datamodel/HiddenColumns.java +++ b/src/jalview/datamodel/HiddenColumns.java @@ -1527,7 +1527,7 @@ public class HiddenColumns i++; } - if (visSoFar < end - start) + if (visSoFar < end - start + 1) { // the number of visible columns we've accounted for is less than // the number specified by end-start; work out the end position of