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:
7448272
)
JAL-3032 revert change to tooltip StringBuilder length
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 28 Jan 2019 14:59:27 +0000
(14:59 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 28 Jan 2019 14:59:27 +0000
(14:59 +0000)
src/jalview/gui/SeqPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqPanel.java
b/src/jalview/gui/SeqPanel.java
index
59f239f
..
e94ced2
100644
(file)
--- a/
src/jalview/gui/SeqPanel.java
+++ b/
src/jalview/gui/SeqPanel.java
@@
-823,7
+823,7
@@
public class SeqPanel extends JPanel
mouseOverSequence(sequence, column, pos);
}
- tooltipText.setLength(0);
+ tooltipText.setLength(6); // "<html>"
SequenceGroup[] groups = av.getAlignment().findAllGroups(sequence);
if (groups != null)
@@
-859,7
+859,7
@@
public class SeqPanel extends JPanel
seqARep.appendFeatures(tooltipText, pos, features,
this.ap.getSeqPanel().seqCanvas.fr);
}
- if (tooltipText.length() == 0) // <html>
+ if (tooltipText.length() == 6) // <html>
{
setToolTipText(null);
lastTooltip = null;