From 159a3e2a0e8447757a6079a5aa68146058e25353 Mon Sep 17 00:00:00 2001 From: kiramt Date: Mon, 8 May 2017 08:59:46 +0100 Subject: [PATCH] JAL-2512 And applet --- src/jalview/appletgui/SequenceRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 1.7.10.2