X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemes%2FAnnotationColourGradient.java;fp=src%2Fjalview%2Fschemes%2FAnnotationColourGradient.java;h=a390a15a23dbf0e6273c57fcc9ed5b33d4c5eea9;hb=3459a8a691cb22508d7067f240b7254e588e77d3;hp=75a07b98eb9e424455c412d1ad38d1d35afb7673;hpb=5b27f1062b2203c4c31702e205f4c78e1992063e;p=jalview.git diff --git a/src/jalview/schemes/AnnotationColourGradient.java b/src/jalview/schemes/AnnotationColourGradient.java index 75a07b9..a390a15 100755 --- a/src/jalview/schemes/AnnotationColourGradient.java +++ b/src/jalview/schemes/AnnotationColourGradient.java @@ -417,7 +417,7 @@ public class AnnotationColourGradient extends FollowerColourScheme { range = ann.graphMax == ann.threshold.value ? 1f : (value - ann.threshold.value) - / (ann.graphMax - ann.threshold.value); + / (ann.graphMax - ann.threshold.value); } else if (thresholdIsMinMax && ann.threshold != null && aboveAnnotationThreshold == BELOW_THRESHOLD