From: hansonr Date: Thu, 20 Dec 2018 08:59:04 +0000 (-0600) Subject: seq panel issue with shift-left-mouse drag fix X-Git-Tag: Release_2_11_4_0~45^2~18^2~340 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=15c9916bc5ce624c3b1d7cb442fd068014af29d6;p=jalview.git seq panel issue with shift-left-mouse drag fix TODO: menus no longer close on their own --- diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index 7f4b89b..5eb97e0 100644 --- a/src/jalview/gui/SeqPanel.java +++ b/src/jalview/gui/SeqPanel.java @@ -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); diff --git a/swingjs/SwingJS-site.zip b/swingjs/SwingJS-site.zip index d7afa47..a0f147f 100644 Binary files a/swingjs/SwingJS-site.zip and b/swingjs/SwingJS-site.zip differ diff --git a/swingjs/timestamp b/swingjs/timestamp index 19803a8..4c3a870 100644 --- a/swingjs/timestamp +++ b/swingjs/timestamp @@ -1 +1 @@ -20181220001942 +20181220025341 diff --git a/swingjs/ver/3.2.4/SwingJS-site.zip b/swingjs/ver/3.2.4/SwingJS-site.zip index d7afa47..a0f147f 100644 Binary files a/swingjs/ver/3.2.4/SwingJS-site.zip and b/swingjs/ver/3.2.4/SwingJS-site.zip differ diff --git a/swingjs/ver/3.2.4/timestamp b/swingjs/ver/3.2.4/timestamp index 19803a8..4c3a870 100644 --- a/swingjs/ver/3.2.4/timestamp +++ b/swingjs/ver/3.2.4/timestamp @@ -1 +1 @@ -20181220001942 +20181220025341