JAL-1950 JAL-1958 disable per-row score modulation if none present
[jalview.git] / 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);