preliminary patch to reduce problem observed in JAL-546
[jalview.git] / 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)