From 615ceb57dd502ec4a663f69d0706d8808d75d849 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 24 Feb 2006 11:39:40 +0000 Subject: [PATCH] Use annotation colour for graph --- src/jalview/appletgui/AnnotationPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.10.2