From: kiramt Date: Mon, 8 May 2017 07:59:46 +0000 (+0100) Subject: JAL-2512 And applet X-Git-Tag: Release_2_10_2~3^2~101 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=159a3e2a0e8447757a6079a5aa68146058e25353;p=jalview.git JAL-2512 And applet --- diff --git a/src/jalview/appletgui/SequenceRenderer.java b/src/jalview/appletgui/SequenceRenderer.java index 78ed4a3..38031e4 100755 --- a/src/jalview/appletgui/SequenceRenderer.java +++ b/src/jalview/appletgui/SequenceRenderer.java @@ -115,7 +115,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); }