From cadabddd959db11250cdf19b28606106540b3268 Mon Sep 17 00:00:00 2001 From: James Procter Date: Mon, 25 Sep 2023 17:55:15 +0100 Subject: [PATCH] JAL-3858 minimum value for a range is used to shade ranges in PAE map --- src/jalview/renderer/ContactMapRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 1.7.10.2