From: kiramt Date: Mon, 8 May 2017 07:54:41 +0000 (+0100) Subject: JAL-2512 Fix to show non-gap positions in None colour scheme X-Git-Tag: Release_2_10_2~3^2~102 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cd574299875e128d38eadee2efb946725e07bd92;p=jalview.git JAL-2512 Fix to show non-gap positions in None colour scheme --- 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);