mosueOver graph gives int, not float
authoramwaterhouse <Andrew Waterhouse>
Wed, 6 Apr 2005 11:39:34 +0000 (11:39 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 6 Apr 2005 11:39:34 +0000 (11:39 +0000)
src/jalview/gui/AlignViewport.java

index 19a206d..d63c0c9 100755 (executable)
@@ -134,7 +134,7 @@ public class AlignViewport
           maxRes = "+ ";\r
         }\r
 \r
-        mouseOver += value+"%";\r
+        mouseOver += (int)value+"%";\r
         annotations[i] = new Annotation(maxRes, mouseOver, ' ', value);\r
 \r
     }\r