JAL-2522 Missed fix to applet
authorkiramt <k.mourao@dundee.ac.uk>
Tue, 16 May 2017 10:34:09 +0000 (11:34 +0100)
committerkiramt <k.mourao@dundee.ac.uk>
Tue, 16 May 2017 10:34:09 +0000 (11:34 +0100)
src/jalview/appletgui/SeqPanel.java

index fcae97c..708bc6b 100644 (file)
@@ -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);
       }