JAL-1950 JAL-1958 disable per-row score modulation if none present
authorJim Procter <jprocter@issues.jalview.org>
Thu, 31 May 2018 16:20:00 +0000 (17:20 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 31 May 2018 16:20:00 +0000 (17:20 +0100)
src/jalview/schemes/AnnotationColourGradient.java

index 3ed18bf..00744c0 100755 (executable)
@@ -247,6 +247,10 @@ public class AnnotationColourGradient extends FollowerColourScheme
         perLineScore = plcount == ancount;
         aamax=plmax;
       }
+      else
+      {
+        perLineScore = false;
+      }
       if (rna)
       {
         ColourSchemeProperty.initRnaHelicesShading(1 + (int) aamax);