public Color findColour(char c, int j, SequenceI seq)
{
Color currentColour = Color.white;
- AlignmentAnnotation annotation = (seqAssociated ? seqannot.get(seq)
+ AlignmentAnnotation annotation = (seqAssociated && seqannot!=null ? seqannot.get(seq)
: this.annotation);
if (annotation == null)
{
|| (annotationThreshold != null && (aboveAnnotationThreshold == ABOVE_THRESHOLD ? aj.value >= annotationThreshold.value
: aj.value <= annotationThreshold.value)))
{
- if (predefinedColours && aj.colour != null)
+ if (predefinedColours && aj.colour != null
+ && !aj.colour.equals(Color.black))
{
currentColour = aj.colour;
}