JAL-2034 - remember to reset needsOverviewUpdate at beginning of new select/drag...
authorJim Procter <jprocter@issues.jalview.org>
Thu, 1 Sep 2016 15:11:15 +0000 (16:11 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 1 Sep 2016 15:11:15 +0000 (16:11 +0100)
src/jalview/gui/SeqPanel.java

index 348c21c..d588a32 100644 (file)
@@ -1550,6 +1550,7 @@ public class SeqPanel extends JPanel implements MouseListener,
     int res = findRes(evt);
     int seq = findSeq(evt);
     oldSeq = seq;
+    needOverviewUpdate = false;
 
     startWrapBlock = wrappedBlock;
 
@@ -1612,7 +1613,6 @@ public class SeqPanel extends JPanel implements MouseListener,
       }
 
       av.setSelectionGroup(stretchGroup);
-
     }
 
     if (evt.isPopupTrigger())