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:
84a9bee
)
JAL-3377 add seq-annotations gap to cheight not to hgap
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 29 Jul 2019 10:44:06 +0000
(11:44 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 29 Jul 2019 10:44:06 +0000
(11:44 +0100)
src/jalview/gui/IdCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/IdCanvas.java
b/src/jalview/gui/IdCanvas.java
index
42376c7
..
ab5585c
100755
(executable)
--- a/
src/jalview/gui/IdCanvas.java
+++ b/
src/jalview/gui/IdCanvas.java
@@
-392,12
+392,12
@@
public class IdCanvas extends JPanel implements ViewportListenerI
AnnotationLabels labels = null;
if (alignViewport.isShowAnnotation())
{
- hgap += SeqCanvas.SEQS_ANNOTATION_GAP;
if (ap == null)
{
ap = new AnnotationPanel(alignViewport);
}
- annotationHeight = ap.adjustPanelHeight();
+ annotationHeight = ap.adjustPanelHeight()
+ + SeqCanvas.SEQS_ANNOTATION_GAP;
labels = new AnnotationLabels(alignViewport);
}