Use annotation colour for graph
authoramwaterhouse <Andrew Waterhouse>
Fri, 24 Feb 2006 11:39:40 +0000 (11:39 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 24 Feb 2006 11:39:40 +0000 (11:39 +0000)
src/jalview/appletgui/AnnotationPanel.java

index 0fdeed6..4bc8ed5 100755 (executable)
@@ -666,7 +666,7 @@ public class AnnotationPanel
 \r
       for (int j = sRes; j < eRes; j++)\r
       {\r
-          g.setColor(new Color(0, 0, 180));\r
+          g.setColor(aa.annotations[j].colour);\r
 \r
           height = (int) ((aa.annotations[j].value / aa.graphMax) * GRAPH_HEIGHT);\r
           if(height>y)\r