X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=src%2Fjalview%2Fschemes%2FAnnotationColourGradient.java;h=2198a4eebd4bad4105106772ca563ee0400bccac;hp=e65d5f52004166d90c2069160eaa94e5b1150d5f;hb=36d803e4a1f98728e91e80de5fa0b95e0cadb0d4;hpb=5b669b6c1a4f1f29b178283a46bc22fcd66aabad diff --git a/src/jalview/schemes/AnnotationColourGradient.java b/src/jalview/schemes/AnnotationColourGradient.java index e65d5f5..2198a4e 100644 --- a/src/jalview/schemes/AnnotationColourGradient.java +++ b/src/jalview/schemes/AnnotationColourGradient.java @@ -257,7 +257,7 @@ public class AnnotationColourGradient extends FollowerColourScheme * @return DOCUMENT ME! */ @Override - public Color findColour(char c, int j, SequenceI seq) { + public Color findColourSeq(char c, int j, SequenceI seq) { Color currentColour = Color.white; AlignmentAnnotation annotation = (seqAssociated && seqannot != null ? seqannot .get(seq) : this.annotation); @@ -289,7 +289,7 @@ public class AnnotationColourGradient extends FollowerColourScheme if (aj.secondaryStructure > ' ' && aj.secondaryStructure != '.' && aj.secondaryStructure != '-') { if (colourScheme != null) { - currentColour = colourScheme.findColour(c, j, seq); + currentColour = colourScheme.findColourSeq(c, j, seq); } else { if (annotation.isRNA()) { currentColour = ColourSchemeProperty.rnaHelices[(int) aj.value]; @@ -305,7 +305,7 @@ public class AnnotationColourGradient extends FollowerColourScheme } } else if (noGradient) { if (colourScheme != null) { - currentColour = colourScheme.findColour(c, j, seq); + currentColour = colourScheme.findColourSeq(c, j, seq); } else { if (aj.colour != null) { currentColour = aj.colour;