X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemes%2FAnnotationColourGradient.java;h=5d12cce632a9ac5036db95393a301a220606cc40;hb=688e59f05f78f52d949f29cd5adc33503d98a147;hp=e265598f6da0177e0b7a7a5c05dd4bc04535ad7a;hpb=b3f065b1e4604502ef60a0d5c83ac43f07ccec0f;p=jalview.git diff --git a/src/jalview/schemes/AnnotationColourGradient.java b/src/jalview/schemes/AnnotationColourGradient.java index e265598..5d12cce 100755 --- a/src/jalview/schemes/AnnotationColourGradient.java +++ b/src/jalview/schemes/AnnotationColourGradient.java @@ -17,9 +17,10 @@ */ package jalview.schemes; -import java.awt.*; +import jalview.datamodel.AlignmentAnnotation; +import jalview.datamodel.GraphLine; -import jalview.datamodel.*; +import java.awt.Color; public class AnnotationColourGradient extends ResidueColourScheme { @@ -152,7 +153,8 @@ public class AnnotationColourGradient extends ResidueColourScheme * * @return DOCUMENT ME! */ - public Color findColour(char c, int j) + @Override + public Color findColour(char c, int j, int sequenceIndex) { Color currentColour = Color.white; @@ -202,7 +204,7 @@ public class AnnotationColourGradient extends ResidueColourScheme if (colourScheme != null) { - currentColour = colourScheme.findColour(c, j); + currentColour = colourScheme.findColour(c, j, sequenceIndex); } else if (range != 0) {