From: amwaterhouse Date: Fri, 24 Feb 2006 11:39:40 +0000 (+0000) Subject: Use annotation colour for graph X-Git-Tag: Root_VamJalview_2_07b+~103 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=615ceb57dd502ec4a663f69d0706d8808d75d849;p=jalview.git Use annotation colour for graph --- diff --git a/src/jalview/appletgui/AnnotationPanel.java b/src/jalview/appletgui/AnnotationPanel.java index 0fdeed6..4bc8ed5 100755 --- a/src/jalview/appletgui/AnnotationPanel.java +++ b/src/jalview/appletgui/AnnotationPanel.java @@ -666,7 +666,7 @@ public class AnnotationPanel for (int j = sRes; j < eRes; j++) { - g.setColor(new Color(0, 0, 180)); + g.setColor(aa.annotations[j].colour); height = (int) ((aa.annotations[j].value / aa.graphMax) * GRAPH_HEIGHT); if(height>y)