From: James Procter Date: Mon, 25 Sep 2023 16:55:15 +0000 (+0100) Subject: JAL-3858 minimum value for a range is used to shade ranges in PAE map X-Git-Tag: Release_2_11_4_0~164 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cadabddd959db11250cdf19b28606106540b3268;p=jalview.git JAL-3858 minimum value for a range is used to shade ranges in PAE map --- diff --git a/src/jalview/renderer/ContactMapRenderer.java b/src/jalview/renderer/ContactMapRenderer.java index bec0f1e..d1eb2f4 100644 --- a/src/jalview/renderer/ContactMapRenderer.java +++ b/src/jalview/renderer/ContactMapRenderer.java @@ -257,7 +257,7 @@ public abstract class ContactMapRenderer implements AnnotationRowRendererI { ContactRange cr = cl.getRangeFor(i, j); // average for moment - probably more interested in maxIntProj though - return jalview.util.ColorUtils.getGraduatedColour((float) cr.getMean(), + return jalview.util.ColorUtils.getGraduatedColour((float) cr.getMin(), 0, shade.selMinColor, max, shade.selMaxColor); }