From: amwaterhouse Date: Wed, 6 Apr 2005 11:39:34 +0000 (+0000) Subject: mosueOver graph gives int, not float X-Git-Tag: Release_2_0~491 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=dab1ca7e4ee81d69d2222a9cacaf077cc859c6ec;p=jalview.git mosueOver graph gives int, not float --- diff --git a/src/jalview/gui/AlignViewport.java b/src/jalview/gui/AlignViewport.java index 19a206d..d63c0c9 100755 --- a/src/jalview/gui/AlignViewport.java +++ b/src/jalview/gui/AlignViewport.java @@ -134,7 +134,7 @@ public class AlignViewport maxRes = "+ "; } - mouseOver += value+"%"; + mouseOver += (int)value+"%"; annotations[i] = new Annotation(maxRes, mouseOver, ' ', value); }