From: Jim Procter Date: Sat, 27 May 2017 13:16:18 +0000 (+0100) Subject: Merge branch 'bug/JAL-2491' into develop X-Git-Tag: Release_2_10_2~3^2~64 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3f5e846ddfee0852718bef491e2839476f5281d3;p=jalview.git Merge branch 'bug/JAL-2491' into develop --- 3f5e846ddfee0852718bef491e2839476f5281d3 diff --cc src/jalview/appletgui/SeqPanel.java index 2d2e3fd,f5955d1..14ea222 --- a/src/jalview/appletgui/SeqPanel.java +++ b/src/jalview/appletgui/SeqPanel.java @@@ -236,11 -235,11 +236,11 @@@ public class SeqPanel extends Panel imp HiddenColumns hidden = av.getAlignment().getHiddenColumns(); while (seqCanvas.cursorY < ranges.getStartSeq()) { - ap.scrollUp(true); + ranges.scrollUp(true); } - while (seqCanvas.cursorY + 1 > ranges.getEndSeq()) + while (seqCanvas.cursorY > ranges.getEndSeq()) { - ap.scrollUp(false); + ranges.scrollUp(false); } while (seqCanvas.cursorX < hidden.adjustForHiddenColumns(ranges .getStartRes()))