From: Jim Procter Date: Thu, 31 May 2018 16:27:13 +0000 (+0100) Subject: JAL-3011 - show score in annotation row - looks like this got lost in an automerge X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=94445a50c8ddcc4a0294006f4851c2e8f43b74f6;p=jalview.git JAL-3011 - show score in annotation row - looks like this got lost in an automerge --- diff --git a/src/jalview/gui/AnnotationLabels.java b/src/jalview/gui/AnnotationLabels.java index b1a8aff..dc89fa3 100755 --- a/src/jalview/gui/AnnotationLabels.java +++ b/src/jalview/gui/AnnotationLabels.java @@ -875,14 +875,16 @@ public class AnnotationLabels extends JPanel { // begin the tooltip's html fragment desc.append(""); - if (aa.hasScore()) - { - // TODO: limit precision of score to avoid noise from imprecise - // doubles - // (64.7 becomes 64.7+/some tiny value). - desc.append(" Score: " + aa.score); - } } + + if (aa.hasScore()) + { + // TODO: limit precision of score to avoid noise from imprecise + // doubles + // (64.7 becomes 64.7+/some tiny value). + desc.append(" Score: " + aa.score); + } + if (desc.length() > 6) { desc.append("");