git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-98 first working version
[jalview.git]
/
src
/
jalview
/
gui
/
IdPanel.java
diff --git
a/src/jalview/gui/IdPanel.java
b/src/jalview/gui/IdPanel.java
index
2aa7bf5
..
05166ad
100755
(executable)
--- a/
src/jalview/gui/IdPanel.java
+++ b/
src/jalview/gui/IdPanel.java
@@
-320,12
+320,13
@@
public class IdPanel extends JPanel implements MouseListener,
if (e.isPopupTrigger()) // Mac reports this in mousePressed
{
showPopupMenu(e);
if (e.isPopupTrigger()) // Mac reports this in mousePressed
{
showPopupMenu(e);
-
return;
}
return;
}
+
/*
/*
- * defer right-mouse click handling to mouse up on Mac
+ * defer right-mouse click handling to mouseReleased on Windows
* (where isPopupTrigger() will answer true)
* (where isPopupTrigger() will answer true)
+ * NB isRightMouseButton is also true for Cmd-click on Mac
*/
if (SwingUtilities.isRightMouseButton(e) && !Platform.isAMac())
{
*/
if (SwingUtilities.isRightMouseButton(e) && !Platform.isAMac())
{
@@
-350,7
+351,7
@@
public class IdPanel extends JPanel implements MouseListener,
{
selectSeq(seq);
}
{
selectSeq(seq);
}
- // TODO is this addition ok here?
+
av.isSelectionGroupChanged(true);
alignPanel.paintAlignment(true);
av.isSelectionGroupChanged(true);
alignPanel.paintAlignment(true);