From: gmungoc Date: Mon, 28 Jan 2019 14:59:27 +0000 (+0000) Subject: JAL-3032 revert change to tooltip StringBuilder length X-Git-Tag: Release_2_11_4_0~45^2~18^2~283 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=eb0ecbb41335d28ac4c38fe617f69c0ffc51fea5;p=jalview.git JAL-3032 revert change to tooltip StringBuilder length --- diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index 59f239f..e94ced2 100644 --- 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); // "" 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) // + if (tooltipText.length() == 6) // { setToolTipText(null); lastTooltip = null;