{
continue;
}
-
- if (useOriginalColours.isSelected())
- {
- sg.setColourScheme(new AnnotationColourGradient(currentAnn,
- sg.getColourScheme(), selectedThresholdOption));
- ((AnnotationColourGradient) sg.cs)
- .setSeqAssociated(seqAssociated.isSelected());
- }
- else
- {
- sg.setColourScheme(new AnnotationColourGradient(currentAnn,
- minColour.getBackground(), maxColour.getBackground(),
- selectedThresholdOption));
- ((AnnotationColourGradient) sg.cs)
- .setSeqAssociated(seqAssociated.isSelected());
- }
+ sg.setColourScheme(
+ acg.getInstance(sg, ap.av.getHiddenRepSequences()));
}
}
return false;