preliminary patch to reduce problem observed in JAL-546
authorjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 29 Jun 2011 16:52:22 +0000 (17:52 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 29 Jun 2011 16:52:22 +0000 (17:52 +0100)
src/jalview/appletgui/IdwidthAdjuster.java

index a6bbdd3..77c0ca8 100755 (executable)
@@ -78,9 +78,9 @@ public class IdwidthAdjuster extends Panel implements MouseListener,
     {
       ap.setIdWidth(d.width + dif, d.height);
       this.setSize(d.width + dif, getSize().height);
+      oldX = evt.getX();
     }
 
-    oldX = evt.getX();
   }
 
   public void mouseMoved(MouseEvent evt)