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:
147f423
)
ensure panel doesn't disappear when empty (patches for JAL-554 and JAL-570 and JAL...
author
jprocter
<Jim Procter>
Fri, 4 Jun 2010 15:39:44 +0000
(15:39 +0000)
committer
jprocter
<Jim Procter>
Fri, 4 Jun 2010 15:39:44 +0000
(15:39 +0000)
src/jalview/gui/AnnotationPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationPanel.java
b/src/jalview/gui/AnnotationPanel.java
index
f408400
..
37c70b7
100755
(executable)
--- a/
src/jalview/gui/AnnotationPanel.java
+++ b/
src/jalview/gui/AnnotationPanel.java
@@
-175,8
+175,9
@@
public class AnnotationPanel extends JPanel implements MouseListener,
height += aa[i].height;
}
}
- else
+ if (height==0)
{
+ // set minimum
height = 20;
}