git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b2d39b
)
JAL-2077 more javadoc
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 31 Aug 2016 15:37:14 +0000
(16:37 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 31 Aug 2016 15:37:14 +0000
(16:37 +0100)
src/jalview/util/Platform.java
patch
|
blob
|
history
diff --git
a/src/jalview/util/Platform.java
b/src/jalview/util/Platform.java
index
85a27f6
..
3fb384f
100644
(file)
--- a/
src/jalview/util/Platform.java
+++ b/
src/jalview/util/Platform.java
@@
-79,8
+79,10
@@
public class Platform
}
/**
- * Answers true if the mouse event has Meta-down (on Mac) or Ctrl-down (on
- * other o/s)
+ * Answers true if the mouse event has Meta-down (Command key on Mac) or
+ * Ctrl-down (on other o/s). Note this answers _false_ if the Ctrl key is
+ * pressed instead of the Meta/Cmd key on Mac. To test for Ctrl-click on Mac,
+ * you can use e.isPopupTrigger().
*
* @param e
* @return