From: Jim Procter Date: Thu, 31 May 2018 16:20:00 +0000 (+0100) Subject: JAL-1950 JAL-1958 disable per-row score modulation if none present X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4ecba72bdecb7f685bf7629e7784d2d11c172f9d;p=jalview.git JAL-1950 JAL-1958 disable per-row score modulation if none present --- diff --git a/src/jalview/schemes/AnnotationColourGradient.java b/src/jalview/schemes/AnnotationColourGradient.java index 3ed18bf..00744c0 100755 --- a/src/jalview/schemes/AnnotationColourGradient.java +++ b/src/jalview/schemes/AnnotationColourGradient.java @@ -247,6 +247,10 @@ public class AnnotationColourGradient extends FollowerColourScheme perLineScore = plcount == ancount; aamax=plmax; } + else + { + perLineScore = false; + } if (rna) { ColourSchemeProperty.initRnaHelicesShading(1 + (int) aamax);