From 5b1eae898349be1d46174125928095053f7e0c70 Mon Sep 17 00:00:00 2001 From: kiramt Date: Wed, 10 May 2017 14:28:50 +0100 Subject: [PATCH] JAL-2522 Fix to cursor scrolling --- src/jalview/gui/SeqPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index 1432fcb..74ebb37 100644 --- a/src/jalview/gui/SeqPanel.java +++ b/src/jalview/gui/SeqPanel.java @@ -392,7 +392,7 @@ public class SeqPanel extends JPanel implements MouseListener, { ap.scrollUp(true); } - while (seqCanvas.cursorY + 1 > av.getRanges().getEndSeq()) + while (seqCanvas.cursorY > av.getRanges().getEndSeq()) { ap.scrollUp(false); } -- 1.7.10.2