From eb0ecbb41335d28ac4c38fe617f69c0ffc51fea5 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 28 Jan 2019 14:59:27 +0000 Subject: [PATCH] JAL-3032 revert change to tooltip StringBuilder length --- src/jalview/gui/SeqPanel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 1.7.10.2