seq panel issue with shift-left-mouse drag fix
authorhansonr <hansonr@STO24954W.ad.stolaf.edu>
Thu, 20 Dec 2018 08:59:04 +0000 (02:59 -0600)
committerhansonr <hansonr@STO24954W.ad.stolaf.edu>
Thu, 20 Dec 2018 08:59:04 +0000 (02:59 -0600)
TODO: menus no longer close on their own

src/jalview/gui/SeqPanel.java
swingjs/SwingJS-site.zip
swingjs/timestamp
swingjs/ver/3.2.4/SwingJS-site.zip
swingjs/ver/3.2.4/timestamp

index 7f4b89b..5eb97e0 100644 (file)
@@ -299,9 +299,6 @@ public class SeqPanel extends JPanel
    */
   void endEditing()
   {
-         
-         System.out.println("seqPanel endEditing " + editCommand);
-
     try
     {
       if (editCommand != null && editCommand.getSize() > 0)
@@ -629,11 +626,7 @@ public class SeqPanel extends JPanel
   @Override
   public void mouseReleased(MouseEvent evt)
   {
-         
-         System.out.println("seqPanel mouse evt release " + evt.isShiftDown() + " " + mouseDragging + " " + editingSeqs);
-
-         
-         boolean didDrag = mouseDragging; // did we come here after a drag
+    boolean didDrag = mouseDragging; // did we come here after a drag
     mouseDragging = false;
     mouseWheelPressed = false;
 
@@ -663,7 +656,6 @@ public class SeqPanel extends JPanel
   @Override
   public void mousePressed(MouseEvent evt)
   {
-         System.out.println("seqPanel mouse evt " + evt.isShiftDown());
     lastMousePress = evt.getPoint();
 
     if (SwingUtilities.isMiddleMouseButton(evt))
@@ -1141,9 +1133,6 @@ public class SeqPanel extends JPanel
           newWidth = av.getCharWidth() + 1;
           av.setCharWidth(newWidth);
         }
-        System.out.println("seqPanel mouse evt " + evt.isShiftDown() + " " + newWidth);
-        
         if (newWidth > 0)
         {
           ap.paintAlignment(false, false);
index d7afa47..a0f147f 100644 (file)
Binary files a/swingjs/SwingJS-site.zip and b/swingjs/SwingJS-site.zip differ
index 19803a8..4c3a870 100644 (file)
@@ -1 +1 @@
-20181220001942 
+20181220025341 
index d7afa47..a0f147f 100644 (file)
Binary files a/swingjs/ver/3.2.4/SwingJS-site.zip and b/swingjs/ver/3.2.4/SwingJS-site.zip differ
index 19803a8..4c3a870 100644 (file)
@@ -1 +1 @@
-20181220001942 
+20181220025341