From cd574299875e128d38eadee2efb946725e07bd92 Mon Sep 17 00:00:00 2001 From: kiramt Date: Mon, 8 May 2017 08:54:41 +0100 Subject: [PATCH] JAL-2512 Fix to show non-gap positions in None colour scheme --- src/jalview/gui/SequenceRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/SequenceRenderer.java b/src/jalview/gui/SequenceRenderer.java index 1c0420d..91c3f0f 100755 --- a/src/jalview/gui/SequenceRenderer.java +++ b/src/jalview/gui/SequenceRenderer.java @@ -137,7 +137,7 @@ public class SequenceRenderer implements jalview.api.SequenceRenderer */ void getBoxColour(ResidueShaderI shader, SequenceI seq, int i) { - if (shader != null) + if (shader.getColourScheme() != null) { resBoxColour = shader.findColour(seq.getCharAt(i), i, seq); -- 1.7.10.2