X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemes%2FAnnotationColourGradient.java;h=764bb123af78d0d05d7ae06ad8356e571d07d802;hb=d043ce47fc710d3eb2629ba926a8a7417bd67d8c;hp=85266840c3b454a9bef1616941b10eed3f1f98d3;hpb=49db0dff1da16c3355b43a41498c1fc93ef47e91;p=jalview.git diff --git a/src/jalview/schemes/AnnotationColourGradient.java b/src/jalview/schemes/AnnotationColourGradient.java index 8526684..764bb12 100755 --- a/src/jalview/schemes/AnnotationColourGradient.java +++ b/src/jalview/schemes/AnnotationColourGradient.java @@ -461,7 +461,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