From 1381e84c13beba91566e070735a71c08b3393746 Mon Sep 17 00:00:00 2001 From: kiramt Date: Tue, 16 May 2017 11:34:09 +0100 Subject: [PATCH] JAL-2522 Missed fix to applet --- src/jalview/appletgui/SeqPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 1.7.10.2