git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use annotation colour for graph
[jalview.git]
/
src
/
jalview
/
appletgui
/
AnnotationPanel.java
diff --git
a/src/jalview/appletgui/AnnotationPanel.java
b/src/jalview/appletgui/AnnotationPanel.java
index
0fdeed6
..
4bc8ed5
100755
(executable)
--- a/
src/jalview/appletgui/AnnotationPanel.java
+++ b/
src/jalview/appletgui/AnnotationPanel.java
@@
-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