JAL-2491 Tweaks for applet
[jalview.git] / src / jalview / appletgui / AlignmentPanel.java
index d7f2d5e..842841b 100644 (file)
@@ -922,7 +922,7 @@ public class AlignmentPanel extends Panel implements AdjustmentListener,
      * Scroll to position but centring the target residue. Also set a state flag
      * to prevent adjustmentValueChanged performing this recursively.
      */
-    setFollowingComplementScroll(true);
+    // setFollowingComplementScroll(true);
     // this should be scrollToPosition(sr,verticalOffset,
     scrollToPosition(sr, seqOffset, true, true);
   }
@@ -1050,7 +1050,7 @@ public class AlignmentPanel extends Panel implements AdjustmentListener,
    * Flag set while scrolling to follow complementary cDNA/protein scroll. When
    * true, suppresses invoking the same method recursively.
    */
-  private boolean followingComplementScroll;
+  private boolean followingComplementScroll = true;
 
   private void jbInit() throws Exception
   {