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:
04ddbd9
)
no need for right mouse click
author
amwaterhouse
<Andrew Waterhouse>
Thu, 19 May 2005 17:55:34 +0000
(17:55 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Thu, 19 May 2005 17:55:34 +0000
(17:55 +0000)
src/jalview/gui/AnnotationLabels.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationLabels.java
b/src/jalview/gui/AnnotationLabels.java
index
26cba7a
..
9b29451
100755
(executable)
--- a/
src/jalview/gui/AnnotationLabels.java
+++ b/
src/jalview/gui/AnnotationLabels.java
@@
-92,9
+92,7
@@
public class AnnotationLabels extends JPanel implements MouseListener, MouseMoti
{
\r
int y = evt.getY() - scrollOffset;
\r
\r
- if (SwingUtilities.isRightMouseButton(evt))
\r
- {
\r
- AlignmentAnnotation[] aa = ap.av.alignment.getAlignmentAnnotation();
\r
+ AlignmentAnnotation[] aa = ap.av.alignment.getAlignmentAnnotation();
\r
if(aa==null || aa.length==0)
\r
{
\r
JPopupMenu pop = new JPopupMenu("Annotations");
\r
@@
-133,8
+131,6
@@
public class AnnotationLabels extends JPanel implements MouseListener, MouseMoti
item.addActionListener(this);
\r
pop.add(item);
\r
pop.show(this, evt.getX(), evt.getY());
\r
- return;
\r
- }
\r
\r
oldY = evt.getY();
\r
}
\r