JAL-2346 remove refactored fields, fix test for above threshold
[jalview.git] / src / jalview / schemes / AnnotationColourGradient.java
index a5d779d..220d3ab 100755 (executable)
@@ -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;