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:
7f88b4e
)
GraphHeight might be zero
author
amwaterhouse
<Andrew Waterhouse>
Wed, 30 Aug 2006 16:10:07 +0000
(16:10 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 30 Aug 2006 16:10:07 +0000
(16:10 +0000)
src/jalview/gui/AnnotationLabels.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationLabels.java
b/src/jalview/gui/AnnotationLabels.java
index
87bb774
..
c537550
100755
(executable)
--- a/
src/jalview/gui/AnnotationLabels.java
+++ b/
src/jalview/gui/AnnotationLabels.java
@@
-447,7
+447,7
@@
public class AnnotationLabels extends JPanel implements MouseListener,
\r
x = width - fm.stringWidth(aa[i].label) - 3;
\r
\r
- if (aa[i].graph>0)
\r
+ if (aa[i].graph>0 && aa[i].graphHeight>0)
\r
{
\r
graphExtras = y;
\r
\r