JAL-1871 reinstate random generation of palette when applying RNA Helices colouring
authorJim Procter <jprocter@issues.jalview.org>
Sat, 5 Sep 2015 17:37:17 +0000 (18:37 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Sat, 5 Sep 2015 17:37:17 +0000 (18:37 +0100)
src/jalview/schemes/RNAHelicesColour.java

index 74cc803..ffc013d 100644 (file)
@@ -61,12 +61,14 @@ public class RNAHelicesColour extends ResidueColourScheme
   {
     super(ResidueProperties.nucleotideIndex);
     this.annotation = annotation;
+    ColourSchemeProperty.resetRnaHelicesShading();
     refresh();
   }
 
   public RNAHelicesColour(AnnotatedCollectionI alignment)
   {
     super(ResidueProperties.nucleotideIndex);
+    ColourSchemeProperty.resetRnaHelicesShading();
     alignmentChanged(alignment, null);
   }