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:
8e77cd5
)
JAL-3161 limit tooltip and status updates to visible columns
bug/JAL-3161annotationTooltipRange
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 22 Nov 2018 14:03:44 +0000
(14:03 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 22 Nov 2018 14:03:44 +0000
(14:03 +0000)
src/jalview/gui/AnnotationPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationPanel.java
b/src/jalview/gui/AnnotationPanel.java
index
50971c7
..
db531a0
100755
(executable)
--- a/
src/jalview/gui/AnnotationPanel.java
+++ b/
src/jalview/gui/AnnotationPanel.java
@@
-723,6
+723,7
@@
public class AnnotationPanel extends JPanel implements AwtRenderPanelI,
int column = (evt.getX() / av.getCharWidth())
+ av.getRanges().getStartRes();
+ column = Math.min(column, av.getRanges().getEndRes());
if (av.hasHiddenColumns())
{