JAL-2504 use (and update) defaults for new feature only if not supplied
[jalview.git] / src / jalview / appletgui / SeqPanel.java
index 397bcdf..d46cc34 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);
       }
@@ -965,7 +965,9 @@ public class SeqPanel extends Panel implements MouseMotionListener,
           fontSize = 1;
         }
 
-        av.setFont(new Font(av.font.getName(), av.font.getStyle(), fontSize));
+        av.setFont(
+                new Font(av.font.getName(), av.font.getStyle(), fontSize),
+                true);
         av.setCharWidth(oldWidth);
       }
       else