From: kiramt Date: Tue, 16 May 2017 10:34:09 +0000 (+0100) Subject: JAL-2522 Missed fix to applet X-Git-Tag: Release_2_10_2~3^2~85 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1381e84c13beba91566e070735a71c08b3393746;p=jalview.git JAL-2522 Missed fix to applet --- diff --git a/src/jalview/appletgui/SeqPanel.java b/src/jalview/appletgui/SeqPanel.java index fcae97c..708bc6b 100644 --- a/src/jalview/appletgui/SeqPanel.java +++ b/src/jalview/appletgui/SeqPanel.java @@ -237,7 +237,7 @@ public class SeqPanel extends Panel implements MouseMotionListener, { ap.scrollUp(true); } - while (seqCanvas.cursorY + 1 > ranges.getEndSeq()) + while (seqCanvas.cursorY > ranges.getEndSeq()) { ap.scrollUp(false); }