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:
fd92437
)
JAL-3858 fix check annotation row and column positioning in case we have been called...
author
James Procter
<j.procter@dundee.ac.uk>
Fri, 29 Sep 2023 07:28:03 +0000
(08:28 +0100)
committer
James Procter
<j.procter@dundee.ac.uk>
Fri, 29 Sep 2023 07:28:03 +0000
(08:28 +0100)
src/jalview/gui/AnnotationPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationPanel.java
b/src/jalview/gui/AnnotationPanel.java
index
98e9b3e
..
6c9cb6c
100755
(executable)
--- a/
src/jalview/gui/AnnotationPanel.java
+++ b/
src/jalview/gui/AnnotationPanel.java
@@
-633,7
+633,7
@@
public class AnnotationPanel extends JPanel implements AwtRenderPanelI,
int yOffset = rowIndex[1];
AlignmentAnnotation[] allAnnotation = av.getAlignment()
.getAlignmentAnnotation();
- if (allAnnotation==null || rowIndex[0]<0 || rowIndex[0]>allAnnotation.length)
+ if (allAnnotation==null || rowIndex[0]<0 || rowIndex[0]>=allAnnotation.length)
{
return false;
}