X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemes%2FAnnotationColourGradient.java;h=220d3ab84f3ddcf6846ac6869f0305ae5287cb42;hb=0f8b0be8f639688f8b83df5bccc7e9b45293f638;hp=a5d779d9182b385618898533140c50cd31aa7d97;hpb=88f7d0a53dc11d3b23148fe0866b502b4b53b0e9;p=jalview.git diff --git a/src/jalview/schemes/AnnotationColourGradient.java b/src/jalview/schemes/AnnotationColourGradient.java index a5d779d..220d3ab 100755 --- a/src/jalview/schemes/AnnotationColourGradient.java +++ b/src/jalview/schemes/AnnotationColourGradient.java @@ -316,7 +316,7 @@ public class AnnotationColourGradient extends FollowerColourScheme */ if (annotationThreshold != null) { - if ((aboveAnnotationThreshold == ABOVE_THRESHOLD && aj.value >= annotationThreshold.value) + if ((aboveAnnotationThreshold == ABOVE_THRESHOLD && aj.value < annotationThreshold.value) || (aboveAnnotationThreshold == BELOW_THRESHOLD && aj.value > annotationThreshold.value)) { return Color.white;